CK42 commited on
Commit
a4edbac
1 Parent(s): 5f127c2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -5,7 +5,7 @@ import requests.exceptions
5
  from huggingface_hub import HfApi, hf_hub_download
6
  from huggingface_hub.repocard import metadata_load
7
 
8
- pipe = joblib.load("./pipeline.pkl")
9
  inputs = [gr.Textbox(value = "The customer service was satisfactory.")]
10
  outputs = [gr.Label(label = "Sentiment")]
11
  title = "Sentiment Analysis"
 
5
  from huggingface_hub import HfApi, hf_hub_download
6
  from huggingface_hub.repocard import metadata_load
7
 
8
+ pipe = joblib.load("https://huggingface.co/spaces/scikit-learn/sentiment-analysis/tree/main/pipeline.pkl")
9
  inputs = [gr.Textbox(value = "The customer service was satisfactory.")]
10
  outputs = [gr.Label(label = "Sentiment")]
11
  title = "Sentiment Analysis"