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