Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -132,22 +132,27 @@ def convert_to_markdown(vectara_response_json):
|
|
132 |
return "No data found in the response."
|
133 |
|
134 |
# Welcome to Team Tonic's MultiMed
|
135 |
-
|
136 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
137 |
|
|
|
138 |
|
|
|
|
|
139 |
### Join us
|
140 |
On Discord : [![Let's build the future of AI together! 🚀🤖](https://discordapp.com/api/guilds/1109943800132010065/widget.png)](https://discord.gg/GWpVpekp)
|
141 |
On Huggingface : [TeamTonic](https://huggingface.co/TeamTonic) & [MultiTransformer](https://huggingface.co/MultiTransformer)
|
142 |
On Github : [PolyTonic](https://github.com/tonic-ai) & contribute to [PolyGPT](https://github.com/tonic-ai/polygpt-alpha)[![Join Us](https://img.shields.io/github/followers/Tonic-AI.svg?style=social&label=Follow&maxAge=2592000)]
|
143 |
"""
|
144 |
-
|
145 |
-
|
146 |
-
fn=lambda text: convert_to_markdown(query_vectara(text)),
|
147 |
-
inputs=[gr.Textbox(label="Input Text")],
|
148 |
-
outputs=[gr.Markdown(label="Output Text")],
|
149 |
-
title="👋🏻Welcome to Team Tonic MultiMed⚕️",
|
150 |
-
description="This is an educational and accessible conversational tool to improve wellness and sanitation in support of public health that you can use on your own data & in your own way by cloning this space! ",
|
151 |
examples=[
|
152 |
["What is the proper treatment for buccal herpes?"],
|
153 |
["Male,40 presenting with swollen genitals and a rash"],
|
|
|
132 |
return "No data found in the response."
|
133 |
|
134 |
# Welcome to Team Tonic's MultiMed
|
135 |
+
|
136 |
+
iface = gr.Interface(
|
137 |
+
fn=lambda text: convert_to_markdown(query_vectara(text)),
|
138 |
+
inputs=[gr.Textbox(label="Input Text")],
|
139 |
+
outputs=[gr.Markdown(label="Output Text")],
|
140 |
+
title="👋🏻Welcome to Team Tonic MultiMed⚕️",
|
141 |
+
description="This is an educational and accessible conversational tool to improve wellness and sanitation in support of public health \n You can use MultiMed on your own data & in your own way by cloning this space \n
|
142 |
+
"""
|
143 |
+
<p>Simply click on settings: <a style="display:inline-block" href="https://huggingface.co/spaces/anzorq/finetuned_diffusion?duplicate=true"><img src="https://img.shields.io/badge/-Duplicate%20Space-blue?labelColor=white&style=flat&logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAP5JREFUOE+lk7FqAkEURY+ltunEgFXS2sZGIbXfEPdLlnxJyDdYB62sbbUKpLbVNhyYFzbrrA74YJlh9r079973psed0cvUD4A+4HoCjsA85X0Dfn/RBLBgBDxnQPfAEJgBY+A9gALA4tcbamSzS4xq4FOQAJgCDwV2CPKV8tZAJcAjMMkUe1vX+U+SMhfAJEHasQIWmXNN3abzDwHUrgcRGmYcgKe0bxrblHEB4E/pndMazNpSZGcsZdBlYJcEL9Afo75molJyM2FxmPgmgPqlWNLGfwZGG6UiyEvLzHYDmoPkDDiNm9JR9uboiONcBXrpY1qmgs21x1QwyZcpvxt9NS09PlsPAAAAAElFTkSuQmCC&logoWidth=14" alt="Duplicate Space"></a></p>
|
144 |
|
145 |
+
### How To Use MultiMed
|
146 |
|
147 |
+
Interact with MultiMed in any language using audio or text !
|
148 |
+
|
149 |
### Join us
|
150 |
On Discord : [![Let's build the future of AI together! 🚀🤖](https://discordapp.com/api/guilds/1109943800132010065/widget.png)](https://discord.gg/GWpVpekp)
|
151 |
On Huggingface : [TeamTonic](https://huggingface.co/TeamTonic) & [MultiTransformer](https://huggingface.co/MultiTransformer)
|
152 |
On Github : [PolyTonic](https://github.com/tonic-ai) & contribute to [PolyGPT](https://github.com/tonic-ai/polygpt-alpha)[![Join Us](https://img.shields.io/github/followers/Tonic-AI.svg?style=social&label=Follow&maxAge=2592000)]
|
153 |
"""
|
154 |
+
|
155 |
+
",
|
|
|
|
|
|
|
|
|
|
|
156 |
examples=[
|
157 |
["What is the proper treatment for buccal herpes?"],
|
158 |
["Male,40 presenting with swollen genitals and a rash"],
|