Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -74,7 +74,7 @@ def sentiment_analysis(sentence, model_name):
|
|
| 74 |
demo = gr.Interface(fn=sentiment_analysis,
|
| 75 |
inputs = [gr.Textbox(placeholder="Enter sentence here. If you have multiple sentences, separate them with '\\n'.",label="Sentence",lines=5),
|
| 76 |
gr.Radio(choices=["ARCH_Tuned_RoBERTa","FNCH_Tuned_RoBERTa","AREN_Tuned_RoBERTa",
|
| 77 |
-
"FNEN_Tuned_RoBERTa"
|
| 78 |
outputs=gr.Textbox(label="Sentiment",lines=5),
|
| 79 |
css = "label.svelte-1p9xokt{width:35%;}",
|
| 80 |
title = "Sentiment Analysis Based on Prompt-tuned PLM"
|
|
|
|
| 74 |
demo = gr.Interface(fn=sentiment_analysis,
|
| 75 |
inputs = [gr.Textbox(placeholder="Enter sentence here. If you have multiple sentences, separate them with '\\n'.",label="Sentence",lines=5),
|
| 76 |
gr.Radio(choices=["ARCH_Tuned_RoBERTa","FNCH_Tuned_RoBERTa","AREN_Tuned_RoBERTa",
|
| 77 |
+
"FNEN_Tuned_RoBERTa"], label="Model Selection")],
|
| 78 |
outputs=gr.Textbox(label="Sentiment",lines=5),
|
| 79 |
css = "label.svelte-1p9xokt{width:35%;}",
|
| 80 |
title = "Sentiment Analysis Based on Prompt-tuned PLM"
|