Spaces:
Sleeping
Sleeping
Update main.py
Browse files
main.py
CHANGED
@@ -117,9 +117,9 @@ async def process_item(
|
|
117 |
return chatbot, chat_state, img_list
|
118 |
|
119 |
|
120 |
-
|
121 |
-
#
|
122 |
-
|
123 |
|
124 |
|
125 |
|
|
|
117 |
return chatbot, chat_state, img_list
|
118 |
|
119 |
|
120 |
+
if __name__ == "__main__":
|
121 |
+
# Run the FastAPI app with Uvicorn
|
122 |
+
uvicorn.run("app:app", host="0.0.0.0", port=7860, reload=True)
|
123 |
|
124 |
|
125 |
|