raghuram13 commited on
Commit
c441bd3
1 Parent(s): 7e26d80

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -30,6 +30,6 @@ def detect_symptom(symptoms):
30
  output=pipe(symptoms)[0]
31
  label=id2_label[output['label']]
32
  return f"You are suffering from {label} disease."
33
- examples = [['Weakness,Stomach pain,Headache,'],['Urinate (pee) a lot, often at night,Are very thirsty,'],[' raised red spots,sore throat,loss of appetite']]
34
  demo=gr.Interface(fn=detect_symptom,inputs='text',outputs='label',examples=examples,title="MEDICAL DIAGNOSIS")
35
  demo.launch()
 
30
  output=pipe(symptoms)[0]
31
  label=id2_label[output['label']]
32
  return f"You are suffering from {label} disease."
33
+ examples = [['Weakness,Stomach pain,Headache,'],['fatigue,Have blurry vision,Have numb or tingling hands or feet,Have very dry skin.'],[' raised red spots'],['sore throat,loss of appetite']]
34
  demo=gr.Interface(fn=detect_symptom,inputs='text',outputs='label',examples=examples,title="MEDICAL DIAGNOSIS")
35
  demo.launch()