Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -20,14 +20,15 @@ output = gr.outputs.Dataframe()
|
|
20 |
|
21 |
title="Medical Specialty Classification from Symptoms",
|
22 |
description = "Given a descriptive prompt of symptoms, the model classifies which medical specialty might the symptoms be related too.",
|
23 |
-
examples = ['I have been having a headache for two weeks',
|
24 |
-
'I have rashes on my skin',
|
25 |
-
'I have been coughing for more than a month']
|
26 |
|
27 |
intf = gr.Interface(fn=predict,
|
28 |
inputs=text,
|
29 |
outputs=output,
|
30 |
title=title,
|
31 |
description=description,
|
32 |
-
examples=examples
|
|
|
33 |
intf.launch()
|
|
|
20 |
|
21 |
title="Medical Specialty Classification from Symptoms",
|
22 |
description = "Given a descriptive prompt of symptoms, the model classifies which medical specialty might the symptoms be related too.",
|
23 |
+
#examples = ['I have been having a headache for two weeks',
|
24 |
+
# 'I have rashes on my skin',
|
25 |
+
# 'I have been coughing for more than a month']
|
26 |
|
27 |
intf = gr.Interface(fn=predict,
|
28 |
inputs=text,
|
29 |
outputs=output,
|
30 |
title=title,
|
31 |
description=description,
|
32 |
+
# examples=examples
|
33 |
+
)
|
34 |
intf.launch()
|