Spaces:
Runtime error
Runtime error
Haridas Pai commited on
Commit ·
08be3a0
1
Parent(s): 976d60d
main.py
Browse files
main.py
CHANGED
|
@@ -1,4 +1,11 @@
|
|
| 1 |
import code
|
| 2 |
|
| 3 |
# Start the interactive shell
|
| 4 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
import code
|
| 2 |
|
| 3 |
# Start the interactive shell
|
| 4 |
+
from fastapi import FastAPI
|
| 5 |
+
|
| 6 |
+
app = FastAPI()
|
| 7 |
+
|
| 8 |
+
|
| 9 |
+
def read_root():
|
| 10 |
+
return {"Hello": "World!"}
|
| 11 |
+
#code.interact(local=globals())
|