mohd43 commited on
Commit
7f61b34
·
verified ·
1 Parent(s): 482f94f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -1,9 +1,9 @@
1
  from transformers import pipeline
 
2
  pipeline = pipeline("text-classification" , model = "ProsusAI/finbert")
3
 
4
  def predict(input_text):
5
  predictions = pipeline(input_text )
6
- print(predictions)
7
  return predictions[0]
8
 
9
 
 
1
  from transformers import pipeline
2
+ import gradio as gr
3
  pipeline = pipeline("text-classification" , model = "ProsusAI/finbert")
4
 
5
  def predict(input_text):
6
  predictions = pipeline(input_text )
 
7
  return predictions[0]
8
 
9