Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -4,7 +4,7 @@ app = FastAPI(title="Deploying FastAPI Apps on Huggingface")
|
|
4 |
|
5 |
@app.get("/", tags=["Home"])
|
6 |
def api_home():
|
7 |
-
return {'detail': 'Welcome to FastAPI
|
8 |
|
9 |
@app.post("/",tags=["hello"])
|
10 |
def hello(name: str):
|
|
|
4 |
|
5 |
@app.get("/", tags=["Home"])
|
6 |
def api_home():
|
7 |
+
return {'detail': 'Welcome to FastAPI Tutorial!'}
|
8 |
|
9 |
@app.post("/",tags=["hello"])
|
10 |
def hello(name: str):
|