Update app.py
Browse files
app.py
CHANGED
@@ -2,7 +2,7 @@ import gradio as gr
|
|
2 |
from transformers import MarianMTModel, MarianTokenizer
|
3 |
|
4 |
# Charger le modèle et le tokenizer depuis Hugging Face
|
5 |
-
model_name = "MrFrijo/LiAPI
|
6 |
|
7 |
model = MarianMTModel.from_pretrained(model_name)
|
8 |
tokenizer = MarianTokenizer.from_pretrained(model_name)
|
|
|
2 |
from transformers import MarianMTModel, MarianTokenizer
|
3 |
|
4 |
# Charger le modèle et le tokenizer depuis Hugging Face
|
5 |
+
model_name = "MrFrijo/LiAPI" # Nom du modèle sur Hugging Face
|
6 |
|
7 |
model = MarianMTModel.from_pretrained(model_name)
|
8 |
tokenizer = MarianTokenizer.from_pretrained(model_name)
|