rockdrigoma commited on
Commit
1271ce0
1 Parent(s): aea3916

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -8
app.py CHANGED
@@ -18,14 +18,14 @@ gr.Interface(
18
  title='🌽 Spanish to Nahuatl Automatic Translation',
19
  description='This model is a T5 Transformer (t5-small) fine-tuned on 29,007 spanish and nahuatl sentences using 12,890 samples collected from the web and 16,117 samples from the Axolotl dataset. The dataset is normalized using "sep" normalization from py-elotl. For more details visit https://huggingface.co/hackathon-pln-es/t5-small-spanish-nahuatl',
20
  examples=[
21
- prefix+'hola',
22
- prefix+'conejo',
23
- prefix+'estrella',
24
- prefix+'te quiero mucho',
25
- prefix+'te amo',
26
- prefix+'quiero comer',
27
- prefix+'esto se llama agua',
28
- prefix+'te amo con todo mi corazón'],
29
  allow_flagging="manual",
30
  flagging_options=["right translation", "wrong translation", "error", "other"]
31
  ).launch(enable_queue=True)
 
18
  title='🌽 Spanish to Nahuatl Automatic Translation',
19
  description='This model is a T5 Transformer (t5-small) fine-tuned on 29,007 spanish and nahuatl sentences using 12,890 samples collected from the web and 16,117 samples from the Axolotl dataset. The dataset is normalized using "sep" normalization from py-elotl. For more details visit https://huggingface.co/hackathon-pln-es/t5-small-spanish-nahuatl',
20
  examples=[
21
+ 'hola',
22
+ 'conejo',
23
+ 'estrella',
24
+ 'te quiero mucho',
25
+ 'te amo',
26
+ 'quiero comer',
27
+ 'esto se llama agua',
28
+ 'te amo con todo mi corazón'],
29
  allow_flagging="manual",
30
  flagging_options=["right translation", "wrong translation", "error", "other"]
31
  ).launch(enable_queue=True)