Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -28,7 +28,7 @@ def greet_json():
|
|
| 28 |
"""
|
| 29 |
A simple 'Hello World' endpoint.
|
| 30 |
"""
|
| 31 |
-
return {"Hello": "World!", "message": "Go to /docs to try the dynamic earthquake endpoint. cwadayi"}
|
| 32 |
|
| 33 |
@app.get("/earthquakes")
|
| 34 |
async def get_earthquake_catalog(
|
|
|
|
| 28 |
"""
|
| 29 |
A simple 'Hello World' endpoint.
|
| 30 |
"""
|
| 31 |
+
return {"Hello": "World!", "message": "Go to /docs to try the dynamic earthquake endpoint. cwadayi \n https://cwadayi-python-app.hf.space/earthquakes?start_date=2024-07-01&end_date=2024-07-07&min_magnitude=5.0"}
|
| 32 |
|
| 33 |
@app.get("/earthquakes")
|
| 34 |
async def get_earthquake_catalog(
|