Mohd-Shujath commited on
Commit
5ec38d4
·
1 Parent(s): 4fb13be

Add uvicorn server startup on port 7860

Browse files
Files changed (1) hide show
  1. app.py +5 -1
app.py CHANGED
@@ -157,4 +157,8 @@ demo = gr.ChatInterface(
157
  title="🧭 CommitCon Sherpa Driver Copilot",
158
  description="Fine-tuned Qwen 0.8B Q4_K_M — llama-cpp-python CPU inference"
159
  )
160
- app = gr.mount_gradio_app(app, demo, path="/")
 
 
 
 
 
157
  title="🧭 CommitCon Sherpa Driver Copilot",
158
  description="Fine-tuned Qwen 0.8B Q4_K_M — llama-cpp-python CPU inference"
159
  )
160
+ app = gr.mount_gradio_app(app, demo, path="/")
161
+
162
+ if __name__ == "__main__":
163
+ import uvicorn
164
+ uvicorn.run(app, host="0.0.0.0", port=7860)