pvanand commited on
Commit
54210e7
1 Parent(s): a277083

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +3 -0
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)