Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -16,7 +16,7 @@ def predict(inp:str):
|
|
16 |
return preds_df
|
17 |
|
18 |
intf = gr.Interface(fn=predict,
|
19 |
-
inputs=gr.inputs.Textbox(
|
20 |
outputs=gr.outputs.Dataframe(),
|
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.",
|
|
|
16 |
return preds_df
|
17 |
|
18 |
intf = gr.Interface(fn=predict,
|
19 |
+
inputs=gr.inputs.Textbox(label="What are the symptoms?"),
|
20 |
outputs=gr.outputs.Dataframe(),
|
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.",
|