Tonic commited on
Commit
7d88a24
1 Parent(s): 05ee9b8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -6
app.py CHANGED
@@ -1,3 +1,5 @@
 
 
1
  import gradio as gr
2
  import requests
3
  import json
@@ -131,17 +133,16 @@ def convert_to_markdown(vectara_response_json):
131
  else:
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=""""<h3>How To Use MultiMed : </h3> <h5>Interact with MultiMed in any language using audio or text!</h5>
142
- <h5>This is an educational and accessible conversational tool to improve wellness and sanitation in support of public health. You can use MultiMed on your own data & in your own way by cloning this space. Simply click here: <a style="display:inline-block" href="https://huggingface.co/spaces/TeamTonic/MultiMed?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></h5>
143
- <p>TeamTonic is always making cool demos !</p>
144
- <p>Join our active builder's community on Discord : <a href="https://discord.gg/GWpVpekp"><img src="https://discordapp.com/api/guilds/1109943800132010065/widget.png"></a> On Huggingface : <a href="https://huggingface.co/TeamTonic">TeamTonic</a> & <a href="https://huggingface.co/MultiTransformer">MultiTransformer</a> On Github : <a href="https://github.com/tonic-ai">Polytonic<img src="https://img.shields.io/github/followers/Tonic-AI.svg?style=social&label=Follow&maxAge=2592000"></a> & contribute to <a href="https://github.com/tonic-ai/polygpt-alpha">PolyGPT</a>""",
145
  examples=[
146
  ["What is the proper treatment for buccal herpes?"],
147
  ["Male, 40 presenting with swollen genitals and a rash"],
 
1
+ # Welcome to Team Tonic's MultiMed
2
+
3
  import gradio as gr
4
  import requests
5
  import json
 
133
  else:
134
  return "No data found in the response."
135
 
 
136
 
137
  iface = gr.Interface(
138
  fn=lambda text: convert_to_markdown(query_vectara(text)),
139
  inputs=[gr.Textbox(label="Input Text")],
140
  outputs=[gr.Markdown(label="Output Text")],
141
+ title="👋🏻Welcome to Team🚀Tonic's 😷MultiMed⚕️",
142
+ description="""<h3>How To Use 😷MultiMed⚕️:</h3><h5>🗣️📝Interact with 😷MultiMed⚕️ in any language using audio or text!🗣️📝</h5>
143
+ <h5>This is an educational and accessible conversational tool to improve wellness and sanitation in support of public health. 📚🌟💼 You can use 😷MultiMed⚕️ on your own data & in your own way by cloning this space. 🧬🔬🔍 Simply click here: <a style="display:inline-block" href="https://huggingface.co/spaces/TeamTonic/MultiMed?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/pndMazNpSZGcsZdBlYJcEL9Afo75molJyM2FxmPgmgPqlWNLGfwZGG6UiyEvLzHY dmoPkDDiNm9JR9uboiONcBXrpY1qmgs21x1QwyZcpvxt9NS09PlsPAAAAAElFTkSuQmCC&logoWidth=14" alt="Duplicate Space"></a></h5>
144
+ <p>🌟TeamTonic🌟 is always making cool demos!</p>
145
+ <p>Join our active builder's community on Discord: <a href="https://discord.gg/GWpVpekp"><img src="https://discordapp.com/api/guilds/1109943800132010065/widget.png"></a> On Huggingface: <a href="https://huggingface.co/TeamTonic">TeamTonic</a> & <a href="https://huggingface.co/MultiTransformer">MultiTransformer</a> On Github: <a href="https://github.com/tonic-ai">Polytonic<img src="https://img.shields.io/github/followers/Tonic-AI.svg?style=social&label=Follow&maxAge=2592000"></a> & contribute to <a href="https://github.com/tonic-ai/polygpt-alpha">PolyGPT</a>""",
146
  examples=[
147
  ["What is the proper treatment for buccal herpes?"],
148
  ["Male, 40 presenting with swollen genitals and a rash"],