Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -7,6 +7,7 @@ st.code(output.decode("utf-8"))
|
|
7 |
|
8 |
MODEL_NAME = "stas/mt5-tiny-random"
|
9 |
|
|
|
10 |
from fastT5 import export_and_get_onnx_model, get_onnx_model # this line will throw an error
|
11 |
|
12 |
model = export_and_get_onnx_model(MODEL_NAME)
|
|
|
7 |
|
8 |
MODEL_NAME = "stas/mt5-tiny-random"
|
9 |
|
10 |
+
from transformers import AutoTokenizer
|
11 |
from fastT5 import export_and_get_onnx_model, get_onnx_model # this line will throw an error
|
12 |
|
13 |
model = export_and_get_onnx_model(MODEL_NAME)
|