bright1 commited on
Commit
f8191d0
1 Parent(s): bda4343

updated app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -63,7 +63,7 @@ def sentiment_analysis(model_type, text):
63
  return scores
64
  # , hist_df.head()
65
 
66
- model_type = gr.Radio(choices=['distilbert', 'roberta'], label='Select model type', value='roberta')
67
  #Gradio app interface
68
  #Gradio app interface
69
  demo = gr.Interface(fn = sentiment_analysis,
 
63
  return scores
64
  # , hist_df.head()
65
 
66
+ model_type = gr.Radio(choices=['distilbert', 'roberta'], label='Select model type', value='roberta' )
67
  #Gradio app interface
68
  #Gradio app interface
69
  demo = gr.Interface(fn = sentiment_analysis,