Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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 =
|
97 |
)],
|
98 |
-
outputs=gr.TextArea(label="Sentiment",lines=5, show_copy_button=True, max_lines =
|
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 |
)
|