sniro23 commited on
Commit
953a0ff
·
1 Parent(s): b2c3875

Fix: Upgrade Gradio and resolve DuplicateBlockError

Browse files
Files changed (2) hide show
  1. app.py +0 -5
  2. requirements.txt +1 -1
app.py CHANGED
@@ -163,11 +163,6 @@ def create_enhanced_medical_interface():
163
  # Chat interface
164
  chatbot = gr.ChatInterface(
165
  fn=process_enhanced_medical_query,
166
- textbox=gr.Textbox(
167
- placeholder="Ask about Sri Lankan clinical guidelines... (Enhanced with medical safety protocols)",
168
- container=False,
169
- scale=7
170
- ),
171
  examples=[
172
  "What is the complete management protocol for severe preeclampsia in Sri Lankan guidelines?",
173
  "How should postpartum hemorrhage be managed according to our local clinical protocols?",
 
163
  # Chat interface
164
  chatbot = gr.ChatInterface(
165
  fn=process_enhanced_medical_query,
 
 
 
 
 
166
  examples=[
167
  "What is the complete management protocol for severe preeclampsia in Sri Lankan guidelines?",
168
  "How should postpartum hemorrhage be managed according to our local clinical protocols?",
requirements.txt CHANGED
@@ -2,7 +2,7 @@
2
  # Essential dependencies for Enhanced Medical RAG System
3
 
4
  # Core framework
5
- gradio>=4.0.0
6
 
7
  # LLM and API
8
  groq>=0.5.0
 
2
  # Essential dependencies for Enhanced Medical RAG System
3
 
4
  # Core framework
5
+ gradio>=4.30.0
6
 
7
  # LLM and API
8
  groq>=0.5.0