Spaces:
Running
Running
cloned model#2
Browse files
app.py
CHANGED
@@ -2,7 +2,7 @@ import gradio as gr
|
|
2 |
import torch
|
3 |
from transformers import pipeline, AutoTokenizer, DistilBertForSequenceClassification
|
4 |
|
5 |
-
modelName = "
|
6 |
|
7 |
#distil_tokenizer = AutoTokenizer.from_pretrained(modelName)
|
8 |
#distil_tokenizer.save_pretrained("./model/")
|
|
|
2 |
import torch
|
3 |
from transformers import pipeline, AutoTokenizer, DistilBertForSequenceClassification
|
4 |
|
5 |
+
modelName = "Pendrokar/TorchMoji"
|
6 |
|
7 |
#distil_tokenizer = AutoTokenizer.from_pretrained(modelName)
|
8 |
#distil_tokenizer.save_pretrained("./model/")
|