calerio commited on
Commit
1f15c83
·
verified ·
1 Parent(s): 9fc789c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -137,7 +137,7 @@ demo = gr.Interface(
137
  fn=classify_adr,
138
  inputs=[
139
  gr.Textbox(lines=5, label="ADR Description"),
140
- gr.Checkbox(label="Generate SHAP Explanation (slow)", value=False)
141
  ],
142
  outputs=[
143
  gr.Textbox(label="Predicted Probabilities"),
@@ -147,7 +147,7 @@ demo = gr.Interface(
147
  gr.Textbox(label="Interpretation"),
148
  gr.Image(label="SHAP Explanation")
149
  ],
150
- title="ADR Severity & NER Classifier 2.7 (HF Ready)",
151
  description="Paste an ADR description to classify severity, extract symptoms, diseases, medications, and visualize SHAP explanations.",
152
  allow_flagging="never"
153
  )
 
137
  fn=classify_adr,
138
  inputs=[
139
  gr.Textbox(lines=5, label="ADR Description"),
140
+ gr.Checkbox(label="Generate SHAP Explanation (VERY slow)", value=False)
141
  ],
142
  outputs=[
143
  gr.Textbox(label="Predicted Probabilities"),
 
147
  gr.Textbox(label="Interpretation"),
148
  gr.Image(label="SHAP Explanation")
149
  ],
150
+ title="ADR Severity & NER Classifier 2",
151
  description="Paste an ADR description to classify severity, extract symptoms, diseases, medications, and visualize SHAP explanations.",
152
  allow_flagging="never"
153
  )