Spaces:
Running
Running
Upload folder using huggingface_hub
Browse files- server/app.py +3 -0
server/app.py
CHANGED
|
@@ -112,6 +112,9 @@ def info():
|
|
| 112 |
}
|
| 113 |
)
|
| 114 |
|
|
|
|
|
|
|
|
|
|
| 115 |
|
| 116 |
@app.get("/tasks")
|
| 117 |
def tasks():
|
|
|
|
| 112 |
}
|
| 113 |
)
|
| 114 |
|
| 115 |
+
@app.get("/demo/ping")
|
| 116 |
+
def demo_ping():
|
| 117 |
+
return {"ok": True, "message": "DesignGym 2.0 demo endpoints are live"}
|
| 118 |
|
| 119 |
@app.get("/tasks")
|
| 120 |
def tasks():
|