Noxus09 commited on
Commit
b73303f
·
verified ·
1 Parent(s): 3a6071b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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="models/Noxus09/my_awesome_opus_books_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(