Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -75,7 +75,7 @@ def sentiment_analysis(sentence, model_name):
|
|
| 75 |
|
| 76 |
|
| 77 |
demo = gr.Interface(fn=sentiment_analysis,
|
| 78 |
-
inputs = [gr.Textbox(placeholder="Enter sentence here. If you have multiple sentences, separate them with '\n'.",label="sentence",lines=5),
|
| 79 |
gr.Radio(choices=["ARCH_Tuned_RoBERTa","FNCH_Tuned_RoBERTa","AREN_Tuned_RoBERTa",
|
| 80 |
"FNEN_Tuned_RoBERTa","bert-base-uncased"], label="model choics")],
|
| 81 |
outputs=gr.Textbox(label="output",lines=5),
|
|
|
|
| 75 |
|
| 76 |
|
| 77 |
demo = gr.Interface(fn=sentiment_analysis,
|
| 78 |
+
inputs = [gr.Textbox(placeholder="Enter sentence here. If you have multiple sentences, separate them with '\\n'.",label="sentence",lines=5),
|
| 79 |
gr.Radio(choices=["ARCH_Tuned_RoBERTa","FNCH_Tuned_RoBERTa","AREN_Tuned_RoBERTa",
|
| 80 |
"FNEN_Tuned_RoBERTa","bert-base-uncased"], label="model choics")],
|
| 81 |
outputs=gr.Textbox(label="output",lines=5),
|