mMonika commited on
Commit
5aa9f4a
·
verified ·
1 Parent(s): b488104

Update grad_ui.py

Browse files
Files changed (1) hide show
  1. grad_ui.py +3 -1
grad_ui.py CHANGED
@@ -15,8 +15,10 @@ iface = gr.Interface(
15
  inputs=gr.Textbox(placeholder="Ask a question..."),
16
  outputs="text",
17
  title="Ollama Chat",
18
- description="Ask anything and get responses from the Ollama model."
 
19
  )
20
 
 
21
  # Run on port 7861 (so FastAPI and Gradio can run together)
22
  iface.launch(server_name="0.0.0.0", server_port=7861, share=True)
 
15
  inputs=gr.Textbox(placeholder="Ask a question..."),
16
  outputs="text",
17
  title="Ollama Chat",
18
+ description="Ask anything and get responses from the Ollama model.",
19
+ flagging_dir=None # 🔹 Disable flagging to avoid permission issues
20
  )
21
 
22
+
23
  # Run on port 7861 (so FastAPI and Gradio can run together)
24
  iface.launch(server_name="0.0.0.0", server_port=7861, share=True)