cccc commited on
Commit
df2e6a9
·
1 Parent(s): 314019b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -1,3 +1,5 @@
 
 
1
  def sentiment_analysis(sentence, template, model_name, positive, neutral, negative):
2
  model_name = model_name
3
  template = template.replace('[SENTENCE]', '{"placeholder":"text_a"}')
 
1
+ import gradio as gr
2
+
3
  def sentiment_analysis(sentence, template, model_name, positive, neutral, negative):
4
  model_name = model_name
5
  template = template.replace('[SENTENCE]', '{"placeholder":"text_a"}')