Spaces:
Running
Running
Update
Browse files
README.md
CHANGED
@@ -19,18 +19,6 @@ tags:
|
|
19 |
|
20 |
**[➡️ Try the Live Demo Here!](https://huggingface.co/spaces/Agents-MCP-Hackathon/medical_ai)**
|
21 |
|
22 |
-
<div align="center" style="margin-bottom: 1em;">
|
23 |
-
<a href="https://modal.com/" target="_blank" style="text-decoration:none; margin-right:18px;">
|
24 |
-
<img src="https://assets.modal.com/logos/modal-logo-dark.svg" alt="Modal Logo" height="32" style="vertical-align:middle; margin-right:8px;"/>
|
25 |
-
<span style="font-size:1.1em; color:#8aa8ff; font-weight:bold;">Powered by Modal</span>
|
26 |
-
</a>
|
27 |
-
<a href="https://www.llamaindex.ai/" target="_blank" style="text-decoration:none;">
|
28 |
-
<img src="https://raw.githubusercontent.com/jerryjliu/llama_index/main/docs/imgs/llama_index_logo.png" alt="LlamaIndex Logo" height="32" style="vertical-align:middle; margin-right:8px;"/>
|
29 |
-
<span style="font-size:1.1em; color:#ffb300; font-weight:bold;">and LlamaIndex</span>
|
30 |
-
</a>
|
31 |
-
<div style="font-size:0.95em; color:#aaa; margin-top:2px;">Special thanks to the Modal and LlamaIndex teams for their amazing platforms!</div>
|
32 |
-
</div>
|
33 |
-
|
34 |
**MediAgent AI** is a sophisticated, conversational health assistant and a fully MCP-compliant tool server, built on Modal and Gradio. It provides reliable, sourced, and role-adapted answers to a wide range of medical questions.
|
35 |
|
36 |
This project is a submission for the **Gradio Agents & MCP Hackathon 2025**, competing in two tracks:
|
|
|
19 |
|
20 |
**[➡️ Try the Live Demo Here!](https://huggingface.co/spaces/Agents-MCP-Hackathon/medical_ai)**
|
21 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
22 |
**MediAgent AI** is a sophisticated, conversational health assistant and a fully MCP-compliant tool server, built on Modal and Gradio. It provides reliable, sourced, and role-adapted answers to a wide range of medical questions.
|
23 |
|
24 |
This project is a submission for the **Gradio Agents & MCP Hackathon 2025**, competing in two tracks:
|
app.py
CHANGED
@@ -103,17 +103,6 @@ with gr.Blocks(css=CUSTOM_CSS, title="MediAgent AI: Conversational Health Naviga
|
|
103 |
<li>💊 <b>Drug Info:</b> Side effects, interactions, FDA label details</li>
|
104 |
<li>🔬 <b>Research:</b> Clinical trials & medical literature search</li>
|
105 |
</ul>
|
106 |
-
<div style='margin-top:10px; text-align:center;'>
|
107 |
-
<a href='https://modal.com/' target='_blank' style='text-decoration:none; margin-right:18px;'>
|
108 |
-
<img src='https://assets.modal.com/logos/modal-logo-dark.svg' alt='Modal Logo' style='height:32px; vertical-align:middle; margin-right:8px;'>
|
109 |
-
<span style='font-size:1.1em; color:#8aa8ff; font-weight:bold;'>Powered by Modal</span>
|
110 |
-
</a>
|
111 |
-
<a href='https://www.llamaindex.ai/' target='_blank' style='text-decoration:none;'>
|
112 |
-
<img src='https://raw.githubusercontent.com/jerryjliu/llama_index/main/docs/imgs/llama_index_logo.png' alt='LlamaIndex Logo' style='height:32px; vertical-align:middle; margin-right:8px;'>
|
113 |
-
<span style='font-size:1.1em; color:#ffb300; font-weight:bold;'>and LlamaIndex</span>
|
114 |
-
</a>
|
115 |
-
<div style='font-size:0.95em; color:#aaa; margin-top:2px;'>Special thanks to the Modal and LlamaIndex teams for their amazing platforms!</div>
|
116 |
-
</div>
|
117 |
</div>
|
118 |
""")
|
119 |
|
@@ -127,7 +116,7 @@ with gr.Blocks(css=CUSTOM_CSS, title="MediAgent AI: Conversational Health Naviga
|
|
127 |
)
|
128 |
with gr.Column(scale=3):
|
129 |
# IMPORTANT: Ensure chatbot is defined with type='messages'
|
130 |
-
chatbot = gr.Chatbot(label="Conversation", height=480, type='messages'
|
131 |
|
132 |
with gr.Row():
|
133 |
user_textbox = gr.Textbox(
|
|
|
103 |
<li>💊 <b>Drug Info:</b> Side effects, interactions, FDA label details</li>
|
104 |
<li>🔬 <b>Research:</b> Clinical trials & medical literature search</li>
|
105 |
</ul>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
106 |
</div>
|
107 |
""")
|
108 |
|
|
|
116 |
)
|
117 |
with gr.Column(scale=3):
|
118 |
# IMPORTANT: Ensure chatbot is defined with type='messages'
|
119 |
+
chatbot = gr.Chatbot(label="Conversation", height=480, type='messages')
|
120 |
|
121 |
with gr.Row():
|
122 |
user_textbox = gr.Textbox(
|