Spaces:
Sleeping
Sleeping
Commit
·
4edd498
1
Parent(s):
4554bb8
Update app.py
Browse files
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('
|
| 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 |
|