cccc commited on
Commit
8fdae23
·
1 Parent(s): af5a211

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -93,9 +93,9 @@ demo = gr.Interface(fn=sentiment_analysis,
93
  gr.Radio(choices=["RoBERTa_Chinese_AnnualReport_tuned","RoBERTa_Chinese_FinancialNews_tuned","RoBERTa_English_AnnualReport_tuned",
94
  "RoBERTa_English_FinancialNews_tuned"],
95
  label="Model Selection",
96
- max_lines = 15
97
  )],
98
- outputs=gr.TextArea(label="Sentiment",lines=5, show_copy_button=True, max_lines = 15),
99
  # css = "label.svelte-1p9xokt{width:35%;}",
100
  title = "Prompt Learning-Based Disclosure Sentiment Detection"
101
  )
 
93
  gr.Radio(choices=["RoBERTa_Chinese_AnnualReport_tuned","RoBERTa_Chinese_FinancialNews_tuned","RoBERTa_English_AnnualReport_tuned",
94
  "RoBERTa_English_FinancialNews_tuned"],
95
  label="Model Selection",
96
+ max_lines = 10
97
  )],
98
+ outputs=gr.TextArea(label="Sentiment",lines=5, show_copy_button=True, max_lines = 10),
99
  # css = "label.svelte-1p9xokt{width:35%;}",
100
  title = "Prompt Learning-Based Disclosure Sentiment Detection"
101
  )