Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -140,7 +140,7 @@ settings = {
|
|
| 140 |
@app.get("/")
|
| 141 |
def read_root():
|
| 142 |
# Serve your static HTML file at the root.
|
| 143 |
-
return
|
| 144 |
|
| 145 |
@app.get("/api")
|
| 146 |
def read_api():
|
|
|
|
| 140 |
@app.get("/")
|
| 141 |
def read_root():
|
| 142 |
# Serve your static HTML file at the root.
|
| 143 |
+
return {"message": "Hello from the FastAPI API!"}
|
| 144 |
|
| 145 |
@app.get("/api")
|
| 146 |
def read_api():
|