lbiester commited on
Commit
6a2d159
·
verified ·
1 Parent(s): 2a309b1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -1,4 +1,5 @@
1
  import gradio as gr
 
2
  from nltk.sentiment.vader import SentimentIntensityAnalyzer
3
  from transformers import pipeline
4
 
@@ -37,7 +38,7 @@ with demo:
37
  demo = gr.Interface(
38
  predict_sentiment,
39
  [
40
- gr.TextBox(placeholder="Your text input"),
41
  gr.Dropdown(
42
  ["finiteautomata/bertweet-base-sentiment-analysis", "vader"], label="Model"
43
  ),
 
1
  import gradio as gr
2
+ import nltk
3
  from nltk.sentiment.vader import SentimentIntensityAnalyzer
4
  from transformers import pipeline
5
 
 
38
  demo = gr.Interface(
39
  predict_sentiment,
40
  [
41
+ gr.Textbox(placeholder="Your text input"),
42
  gr.Dropdown(
43
  ["finiteautomata/bertweet-base-sentiment-analysis", "vader"], label="Model"
44
  ),