Spaces:
Sleeping
Sleeping
andreaschandra
commited on
Commit
·
0021b8e
1
Parent(s):
0029918
fix: route fastapi
Browse files- app_docker.py +1 -0
app_docker.py
CHANGED
@@ -3,5 +3,6 @@ from fastapi import FastAPI
|
|
3 |
app = FastAPI()
|
4 |
|
5 |
|
|
|
6 |
def read_root():
|
7 |
return {"Hello": "World!"}
|
|
|
3 |
app = FastAPI()
|
4 |
|
5 |
|
6 |
+
@app.get("/")
|
7 |
def read_root():
|
8 |
return {"Hello": "World!"}
|