Preetham04 commited on
Commit
f396334
1 Parent(s): a1bae54

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)