lfernandopg commited on
Commit
4edd498
·
1 Parent(s): 4554bb8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -6,7 +6,7 @@ import tensorflow as tf
6
 
7
  @st.cache(allow_output_mutation=True)
8
  def get_model():
9
- tokenizer = DistilBertTokenizer.from_pretrained('distilbert-base-uncased')
10
  model = TFDistilBertForSequenceClassification.from_pretrained("lfernandopg/Proyecto-Transformers")
11
  return tokenizer,model
12
 
 
6
 
7
  @st.cache(allow_output_mutation=True)
8
  def get_model():
9
+ tokenizer = DistilBertTokenizer.from_pretrained('lfernandopg/Proyecto-Transformers')
10
  model = TFDistilBertForSequenceClassification.from_pretrained("lfernandopg/Proyecto-Transformers")
11
  return tokenizer,model
12