Spaces:
Sleeping
Sleeping
Fix: Upgrade Gradio and resolve DuplicateBlockError
Browse files- app.py +0 -5
- 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.
|
| 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
|