Spaces:
Running
Running
Update main.py
Browse files
main.py
CHANGED
@@ -81,3 +81,6 @@ async def coding_assistant(query: QueryModel):
|
|
81 |
chat_with_llama_stream(messages, model=query.model_id),
|
82 |
media_type="text/event-stream"
|
83 |
)
|
|
|
|
|
|
|
|
81 |
chat_with_llama_stream(messages, model=query.model_id),
|
82 |
media_type="text/event-stream"
|
83 |
)
|
84 |
+
if __name__ == "__main__":
|
85 |
+
import uvicorn
|
86 |
+
uvicorn.run(app, host="0.0.0.0", port=7860)
|