aseifert commited on
Commit
4ab024c
1 Parent(s): 67feba3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
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)