tclopess commited on
Commit
4336adc
·
verified ·
1 Parent(s): eb5c494

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -38,6 +38,7 @@ import torch
38
  from pysentimiento import create_analyzer
39
  analyzer = create_analyzer(task="sentiment", lang="pt")
40
 
 
41
  prever = analyzer.predict(input_text)
42
 
43
  def get_sentiment(input_text):
 
38
  from pysentimiento import create_analyzer
39
  analyzer = create_analyzer(task="sentiment", lang="pt")
40
 
41
+ input_text = str
42
  prever = analyzer.predict(input_text)
43
 
44
  def get_sentiment(input_text):