Update app.py
Browse files
app.py
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
import gradio as gr
|
2 |
from huggingface_hub import InferenceClient
|
3 |
-
from transformers import Seq2SeqTrainingArguments
|
4 |
model=AutoModelForSeq2SeqLM.from_pretrained("models/valintea/mbart-traduction")
|
5 |
|
6 |
gr.Interface.load(model).launch()
|
|
|
1 |
import gradio as gr
|
2 |
from huggingface_hub import InferenceClient
|
3 |
+
from transformers import Seq2SeqTrainingArguments,AutoModelForSeq2SeqLM
|
4 |
model=AutoModelForSeq2SeqLM.from_pretrained("models/valintea/mbart-traduction")
|
5 |
|
6 |
gr.Interface.load(model).launch()
|