rockdrigoma commited on
Commit
26b6523
1 Parent(s): 2c5321c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -4
app.py CHANGED
@@ -5,10 +5,13 @@ gr.Interface.load(
5
  "huggingface/hackathon-pln-es/t5-small-spanish-nahuatl",
6
  inputs=gr.inputs.Textbox(lines=5, label="Input Text"),
7
  theme="peach",
8
- title='🌽 Spanish to Nahuatl Translation',
9
- description='This is a model that was trained to translate from Spanish to Nahuatl',
10
  examples=[
11
  prefix+'hola',
12
  prefix+'conejo',
13
- prefix+'estrella']
14
- ).launch()
 
 
 
 
5
  "huggingface/hackathon-pln-es/t5-small-spanish-nahuatl",
6
  inputs=gr.inputs.Textbox(lines=5, label="Input Text"),
7
  theme="peach",
8
+ title='🌽 Spanish to Nahuatl Automatic Translation',
9
+ 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',
10
  examples=[
11
  prefix+'hola',
12
  prefix+'conejo',
13
+ prefix+'estrella',
14
+ prefix+'te quiero mucho',
15
+ prefix+'te amo',
16
+ prefix+'te amo con todo mi corazón']
17
+ ).launch(share=True)