Frenchizer commited on
Commit
6f64d0b
·
verified ·
1 Parent(s): c4b718f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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 = "./tokenizer" # Path to the local tokenizer folder
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