ds-EkaCare commited on
Commit
38d1269
Β·
verified Β·
1 Parent(s): 8ba12a0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -24
app.py CHANGED
@@ -125,30 +125,15 @@ SAMPLE_QUERIES = [
125
  ]
126
 
127
  with gr.Blocks(title="Parrotlet-e Retrieval", theme=gr.themes.Base()) as demo:
128
-
129
- # ---- Header ----
130
  gr.Markdown(
131
  """
132
- Multilingual Medical Embedding Search powered by <b>EkaCare's Parrotlet-e</b> model
133
- </p>
134
- <hr>
135
- """,
136
- )
137
 
138
- # ---- Model Description ----
139
- gr.Markdown(
140
- """
141
- ### Description
142
- **Parrotlet-e: Indic Medical Entity Embedding Model**
143
- A multilingual embedding model designed to represent Indian medical terminology across multiple scripts and languages.
144
-
145
- - πŸ”— **Model on Hugging Face:** [Parrotlet-e](https://huggingface.co/ekacare/parrotlet-e)
146
- - πŸ“Š **Benchmarked on:** [Eka-IndicMTEB](https://huggingface.co/datasets/ekacare/Eka-IndicMTEB)
147
- - πŸ“° Read more on our [blog](https://info.eka.care/services/introducing-parrotlet-e-and-eka-indicmteb-bridging-indias-multilingual-healthcare-gap)
148
-
149
- ---
150
- """,
151
- )
152
 
153
  # ---- Input Section ----
154
  with gr.Group():
@@ -181,15 +166,15 @@ with gr.Blocks(title="Parrotlet-e Retrieval", theme=gr.themes.Base()) as demo:
181
  datatype=["number", "str", "str", "str"],
182
  interactive=False,
183
  wrap=True,
184
- label="πŸ“„ Search Results"
185
  )
186
- status_box = gr.Textbox(label="Status", interactive=False)
187
 
188
  # ---- Function Binding ----
189
  search_btn.click(
190
  fn=retrieve_documents,
191
  inputs=[query_input, top_k_input],
192
- outputs=[results_output, status_box],
193
  )
194
 
195
 
 
125
  ]
126
 
127
  with gr.Blocks(title="Parrotlet-e Retrieval", theme=gr.themes.Base()) as demo:
 
 
128
  gr.Markdown(
129
  """
130
+ # **Multilingual Embedding Retrieval powered by EkaCare’s Parrotlet-e β€” the Indic Medical Entity Embedding Model.**
131
+ Parrotlet-e is a multilingual embedding model built to understand and represent medical terminology across India’s diverse languages and scripts, enabling seamless search and interoperability in healthcare data.
 
 
 
132
 
133
+ - πŸ”— **Model on Hugging Face:** [Parrotlet-e](https://huggingface.co/ekacare/parrotlet-e)
134
+ - πŸ“Š **Benchmarked on:** [Eka-IndicMTEB](https://huggingface.co/datasets/ekacare/Eka-IndicMTEB)
135
+ - πŸ“° **Read more on our blog:** [Introducing Parrotlet-e and Eka-IndicMTEB β€” Bridging India’s Multilingual Healthcare Gap](https://info.eka.care/services/introducing-parrotlet-e-and-eka-indicmteb-bridging-indias-multilingual-healthcare-gap)
136
+ """)
 
 
 
 
 
 
 
 
 
 
137
 
138
  # ---- Input Section ----
139
  with gr.Group():
 
166
  datatype=["number", "str", "str", "str"],
167
  interactive=False,
168
  wrap=True,
169
+ label="Search Results"
170
  )
171
+ # status_box = gr.Textbox(label="Status", interactive=False)
172
 
173
  # ---- Function Binding ----
174
  search_btn.click(
175
  fn=retrieve_documents,
176
  inputs=[query_input, top_k_input],
177
+ outputs=[results_output],
178
  )
179
 
180