jdmartinev commited on
Commit
2b9531c
·
verified ·
1 Parent(s): 7155f8e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -1,5 +1,5 @@
1
  import gradio as gr
2
- from transformers import pipeline
3
 
4
  # Load the model and tokenizer from Hugging Face Hub
5
  tokenizer = DistilBertTokenizer.from_pretrained('distilbert-base-uncased')
 
1
  import gradio as gr
2
+ from transformers import DistilBertTokenizer, DistilBertForSequenceClassification
3
 
4
  # Load the model and tokenizer from Hugging Face Hub
5
  tokenizer = DistilBertTokenizer.from_pretrained('distilbert-base-uncased')