Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
from fastapi import FastAPI
|
| 2 |
|
| 3 |
app = FastAPI()
|
| 4 |
-
@app.get("/
|
| 5 |
async def read_root():
|
| 6 |
return {"message": "Welcome to my FastAPI deployment on Hugging Face!"}
|
|
|
|
| 1 |
from fastapi import FastAPI
|
| 2 |
|
| 3 |
app = FastAPI()
|
| 4 |
+
@app.get("/")
|
| 5 |
async def read_root():
|
| 6 |
return {"message": "Welcome to my FastAPI deployment on Hugging Face!"}
|