merve HF staff commited on
Commit
91ad070
·
1 Parent(s): 13f8a60

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -2,7 +2,7 @@ import sklearn
2
  import gradio as gr
3
  import joblib
4
 
5
- model = joblib.load("./pipeline.pkl")
6
  inputs = [gr.Textbox(value = "I love this!")]
7
  outputs = [gr.Label(label = "Sentiment")]
8
  title = "Sentiment Analysis Classifier"
 
2
  import gradio as gr
3
  import joblib
4
 
5
+ pipe = joblib.load("./pipeline.pkl")
6
  inputs = [gr.Textbox(value = "I love this!")]
7
  outputs = [gr.Label(label = "Sentiment")]
8
  title = "Sentiment Analysis Classifier"