himanshubeniwal commited on
Commit
a4d6934
·
verified ·
1 Parent(s): c21c153

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -4
app.py CHANGED
@@ -60,11 +60,10 @@ iface = gr.Interface(
60
  ],
61
  outputs=gr.Textbox(lines=5, label="English Translation"),
62
  title="Romanian to English Translation Model",
63
- description="Translate Romanian text to English using a fine-tuned OPUS-MT model. Examples include common phrases like 'Vreau merg la magazin' (I want to go to the store), 'Ce vreme frumoasă avem astăzi!' (What beautiful weather we have today!), and 'Mulțumesc pentru ajutor' (Thank you for the help).",
64
  examples=[
65
- ["Vreau merg la magazin.", 200, 4, 1, 1.0, 1.0], # "I want to go to the store."
66
- ["Ce vreme frumoasă avem astăzi!", 200, 4, 1, 1.0, 1.0], # "What beautiful weather we have today!"
67
- ["Mulțumesc pentru ajutor.", 200, 4, 1, 1.0, 1.0] # "Thank you for the help."
68
  ]
69
  )
70
 
 
60
  ],
61
  outputs=gr.Textbox(lines=5, label="English Translation"),
62
  title="Romanian to English Translation Model",
63
+ description="Translate Romanian text to English using a fine-tuned OPUS-MT model. Examples include common phrases like: \n 1. 'Guvernul dumneavoastră are un acord cu Japonia.' (Your Government has an agreement with Japan.) \n 2,'Instanța a spus au un acord.' (The court said they had an agreement.)",
64
  examples=[
65
+ ["Guvernul dumneavoastră are un acord cu Japonia.", 200, 4, 1, 1.0, 1.0],
66
+ ["Instanța a spus au un acord.", 200, 4, 1, 1.0, 1.0],
 
67
  ]
68
  )
69