devmanpreet commited on
Commit
6a5d824
·
verified ·
1 Parent(s): 54c4d86

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -3
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 Medical Abstract / Review"),
145
- outputs=gr.Textbox(label="Predicted Category"),
146
  title="MedGPT",
147
- description="Fast biomedical text classifier trained on domain-specific corpus"
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()