Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -16,6 +16,12 @@ class IceCandidate(BaseModel):
|
|
| 16 |
|
| 17 |
|
| 18 |
# ---------- Basic Endpoints ----------
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 19 |
@app.get("/status")
|
| 20 |
def status():
|
| 21 |
return {"status": "running", "time": datetime.utcnow()}
|
|
|
|
| 16 |
|
| 17 |
|
| 18 |
# ---------- Basic Endpoints ----------
|
| 19 |
+
|
| 20 |
+
|
| 21 |
+
@app.get("/")
|
| 22 |
+
def root():
|
| 23 |
+
return {"message": "Hello HF!"}
|
| 24 |
+
|
| 25 |
@app.get("/status")
|
| 26 |
def status():
|
| 27 |
return {"status": "running", "time": datetime.utcnow()}
|