Update app.py
Browse files
app.py
CHANGED
@@ -141,10 +141,11 @@ def classify_review(text, max_length=128):
|
|
141 |
|
142 |
iface = gr.Interface(
|
143 |
fn=classify_review,
|
144 |
-
inputs=gr.Textbox(label="Enter
|
145 |
-
outputs=gr.Textbox(label="Predicted Category"),
|
146 |
title="MedGPT",
|
147 |
-
description="
|
148 |
)
|
149 |
|
|
|
150 |
iface.launch()
|
|
|
141 |
|
142 |
iface = gr.Interface(
|
143 |
fn=classify_review,
|
144 |
+
inputs=gr.Textbox(label="Enter a biomedical abstract section (e.g., Background, Objective, Methodology, etc.)"),
|
145 |
+
outputs=gr.Textbox(label="Predicted Section Category"),
|
146 |
title="MedGPT",
|
147 |
+
description="A domain-specific classifier for biomedical abstract sections: Background, Objective, Methodology, Results, Conclusion."
|
148 |
)
|
149 |
|
150 |
+
|
151 |
iface.launch()
|