Ramaravind commited on
Commit
3df5e69
·
verified ·
1 Parent(s): 0e92063

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -70,10 +70,10 @@ with gr.Blocks(title="Toxicity Explainer") as demo:
70
  gr.Markdown("### Explanations")
71
 
72
  with gr.Tab("Naive Explanation"):
73
- simple_output = gr.Textbox(label="Naive Explanation", lines=8)
74
 
75
  with gr.Tab("Theory-Grounded Explanation"):
76
- detailed_output = gr.Textbox(label="Theory-Grounded Explanation", lines=8)
77
 
78
  def process_text(selected, custom):
79
  text = custom.strip() if custom else selected
 
70
  gr.Markdown("### Explanations")
71
 
72
  with gr.Tab("Naive Explanation"):
73
+ simple_output = gr.Textbox(label="Naive Explanation", lines=15)
74
 
75
  with gr.Tab("Theory-Grounded Explanation"):
76
+ detailed_output = gr.Textbox(label="Theory-Grounded Explanation", lines=15)
77
 
78
  def process_text(selected, custom):
79
  text = custom.strip() if custom else selected