jvroo commited on
Commit
51286b2
·
unverified ·
1 Parent(s): 6b51b6d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -12,7 +12,7 @@ remote_model = "distilbert-base-uncased-finetuned-sst-2-english" # You can use
12
  local_pipeline = pipeline("sentiment-analysis", model=local_model)
13
 
14
  # Initialize the inference pipeline for remote model (same model for simplicity here)
15
- remote_pipeline = InferenceClient("sentiment-analysis", model=remote_model)
16
 
17
  # Function to perform sentiment analysis using the local pipeline
18
  def local_sentiment_analysis(review):
 
12
  local_pipeline = pipeline("sentiment-analysis", model=local_model)
13
 
14
  # Initialize the inference pipeline for remote model (same model for simplicity here)
15
+ remote_pipeline = InferenceClient(model=remote_model)
16
 
17
  # Function to perform sentiment analysis using the local pipeline
18
  def local_sentiment_analysis(review):