Preetham04 commited on
Commit
c1f16b3
1 Parent(s): fed422d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -1,7 +1,7 @@
1
  import gradio as gr
2
  from transformers import pipeline
3
 
4
- pipeline = pipeline(task="text-classification", model="Preetham04/sentiment-analysis")
5
 
6
  def predict(input_text):
7
  predictions = pipeline(input_text)
 
1
  import gradio as gr
2
  from transformers import pipeline
3
 
4
+ pipeline = pipeline(task="text-classification", model="Preetham04/sentiment-analysis_tf")
5
 
6
  def predict(input_text):
7
  predictions = pipeline(input_text)