cccc commited on
Commit
7d036e1
·
1 Parent(s): 0383a18

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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),