Statistical-Impossibility commited on
Commit
36e71f4
·
verified ·
1 Parent(s): 55a972b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -4
app.py CHANGED
@@ -175,7 +175,7 @@ def ner_predict(text):
175
  }
176
 
177
  label_display = {
178
- "DISEASE": "pathology",
179
  "SYMPTOM": "symptom",
180
  "MEDICATION": "medication",
181
  "PROCEDURE": "procedure",
@@ -226,12 +226,15 @@ def ner_predict(text):
226
 
227
  return highlighted, entity_list
228
 
229
- with gr.Blocks(title="Feline Veterinary NER") as demo:
230
  gr.Markdown("# 🐱 Feline Veterinary NER System")
231
  gr.Markdown(
232
- "Extracts **pathologies**, **symptoms**, **medications**, **procedures**, "
233
- "and **anatomy** from veterinary literature. Handles PDF/HTML paste artifacts."
 
 
234
  )
 
235
 
236
  input_text = gr.Textbox(
237
  label="Input Text",
 
175
  }
176
 
177
  label_display = {
178
+ "DISEASE": "disease",
179
  "SYMPTOM": "symptom",
180
  "MEDICATION": "medication",
181
  "PROCEDURE": "procedure",
 
226
 
227
  return highlighted, entity_list
228
 
229
+ with gr.Blocks(title="Feline Veterinary NER (Educational Demo)") as demo:
230
  gr.Markdown("# 🐱 Feline Veterinary NER System")
231
  gr.Markdown(
232
+ "**Educational and research demo only — NOT for clinical use.**\n\n"
233
+ "Extracts **disease**, **symptom**, **medication**, **procedure**, "
234
+ "and **anatomy** from feline veterinary literature. "
235
+ "Handles PDF/HTML paste artifacts."
236
  )
237
+
238
 
239
  input_text = gr.Textbox(
240
  label="Input Text",