Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -2,7 +2,7 @@ import sklearn
|
|
2 |
import gradio as gr
|
3 |
import joblib
|
4 |
|
5 |
-
|
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"
|