Sambhavnoobcoder commited on
Commit
8a89a2a
·
1 Parent(s): 9724286

changed calling function

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -13,4 +13,4 @@ def sentiment(text):
13
 
14
  input_text = gr.inputs.Textbox(label="Enter text here to be classified:")
15
  label = gr.outputs.Label(num_top_classes=2)
16
- gr.Interface(fn=predict_from_img, inputs=input_text, outputs=label,title = 'Sentiment-Analysis').launch()
 
13
 
14
  input_text = gr.inputs.Textbox(label="Enter text here to be classified:")
15
  label = gr.outputs.Label(num_top_classes=2)
16
+ gr.Interface(fn=sentiment, inputs=input_text, outputs=label,title = 'Sentiment-Analysis').launch()