Spaces:
Sleeping
Sleeping
Fix HF UI
Browse files- server/app.py +10 -1
server/app.py
CHANGED
|
@@ -654,4 +654,13 @@ async def reset():
|
|
| 654 |
|
| 655 |
@app.get("/health")
|
| 656 |
async def health():
|
| 657 |
-
return {"status": "ok"}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 654 |
|
| 655 |
@app.get("/health")
|
| 656 |
async def health():
|
| 657 |
+
return {"status": "ok"}
|
| 658 |
+
|
| 659 |
+
|
| 660 |
+
def main():
|
| 661 |
+
import uvicorn
|
| 662 |
+
uvicorn.run("server.app:app", host="0.0.0.0", port=7860)
|
| 663 |
+
|
| 664 |
+
|
| 665 |
+
if __name__ == "__main__":
|
| 666 |
+
main()
|