Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -3,7 +3,7 @@ import onnxruntime
|
|
| 3 |
from transformers import AutoTokenizer
|
| 4 |
import torch, json
|
| 5 |
|
| 6 |
-
token = AutoTokenizer.from_pretrained('
|
| 7 |
|
| 8 |
with open("data.json", "r") as fp:
|
| 9 |
types = json.load(fp)
|
|
|
|
| 3 |
from transformers import AutoTokenizer
|
| 4 |
import torch, json
|
| 5 |
|
| 6 |
+
token = AutoTokenizer.from_pretrained('distilroberta-base')
|
| 7 |
|
| 8 |
with open("data.json", "r") as fp:
|
| 9 |
types = json.load(fp)
|