Pavan97 commited on
Commit
231ff6a
·
1 Parent(s): 50a2e14

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -4,7 +4,7 @@ from transformers import pipeline
4
 
5
  pipe = pipeline("text-classification", model = "Pavan97/Emotion_Analysis" )
6
  def predict(input_text):
7
- return predict(input_text)
8
 
9
  iface = gr.Interface(fn = predict,
10
  inputs = "text",
 
4
 
5
  pipe = pipeline("text-classification", model = "Pavan97/Emotion_Analysis" )
6
  def predict(input_text):
7
+ return pipe(input_text)
8
 
9
  iface = gr.Interface(fn = predict,
10
  inputs = "text",