cccc commited on
Commit
6d44a25
·
1 Parent(s): 70b9857

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -74,7 +74,7 @@ def sentiment_analysis(sentence, model_name):
74
 
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),
 
74
 
75
 
76
  demo = gr.Interface(fn=sentiment_analysis,
77
+ inputs = [gr.Textbox(placeholder="Enter sentence here. If you have multiple sentences, separate them with '\n'.",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),