Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -2,7 +2,7 @@ import gradio as gr
|
|
2 |
from transformers import pipeline
|
3 |
|
4 |
# Load the text translation pipeline with the specified model
|
5 |
-
translator = pipeline("translation", model="
|
6 |
|
7 |
# Define the Gradio interface
|
8 |
iface = gr.Interface(
|
|
|
2 |
from transformers import pipeline
|
3 |
|
4 |
# Load the text translation pipeline with the specified model
|
5 |
+
translator = pipeline("translation", model="Noxus09/my_awesome_opus_books_model")
|
6 |
|
7 |
# Define the Gradio interface
|
8 |
iface = gr.Interface(
|