Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -4,7 +4,7 @@ from transformers import MarianTokenizer
|
|
4 |
import gradio as gr
|
5 |
|
6 |
# Load the tokenizer from the local folder
|
7 |
-
tokenizer_path = "./
|
8 |
tokenizer = MarianTokenizer.from_pretrained(tokenizer_path)
|
9 |
|
10 |
# Load the ONNX model
|
|
|
4 |
import gradio as gr
|
5 |
|
6 |
# Load the tokenizer from the local folder
|
7 |
+
tokenizer_path = "./onnx_model" # Path to the local tokenizer folder
|
8 |
tokenizer = MarianTokenizer.from_pretrained(tokenizer_path)
|
9 |
|
10 |
# Load the ONNX model
|