jvroo commited on
Commit
764db7d
·
unverified ·
1 Parent(s): a065435

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -2,6 +2,7 @@ import gradio as gr
2
  from transformers import pipeline
3
  import matplotlib.pyplot as plt
4
  import numpy as np
 
5
 
6
  # Define models for local and remote inference
7
  local_model = "distilbert-base-uncased-finetuned-sst-2-english"
 
2
  from transformers import pipeline
3
  import matplotlib.pyplot as plt
4
  import numpy as np
5
+ from huggingface_hub import InferenceClient
6
 
7
  # Define models for local and remote inference
8
  local_model = "distilbert-base-uncased-finetuned-sst-2-english"