Spaces:
Sleeping
Sleeping
fix port
Browse files
app.py
CHANGED
@@ -136,11 +136,6 @@ async def clear_user_memory(user_id: str):
|
|
136 |
raise HTTPException(status_code=500, detail=str(e))
|
137 |
|
138 |
if __name__ == "__main__":
|
139 |
-
|
140 |
-
|
141 |
-
|
142 |
-
else:
|
143 |
-
# Khi deploy trên Hugging Face
|
144 |
-
import nest_asyncio
|
145 |
-
nest_asyncio.apply()
|
146 |
-
uvicorn.run(app, host="0.0.0.0", port=7860)
|
|
|
136 |
raise HTTPException(status_code=500, detail=str(e))
|
137 |
|
138 |
if __name__ == "__main__":
|
139 |
+
import nest_asyncio
|
140 |
+
nest_asyncio.apply()
|
141 |
+
uvicorn.run(app, host="0.0.0.0", port=7860)
|
|
|
|
|
|
|
|
|
|