JCarlos commited on
Commit
e15cc06
1 Parent(s): 42c285f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -11,7 +11,7 @@ def translate(text):
11
 
12
  return tokenizer.decode(output[0], skip_special_tokens=True)
13
 
14
- title = "Spanish to Quechua translation"
15
  inputs = gr.inputs.Textbox(lines=1, label="Text in Spanish")
16
  outputs = [gr.outputs.Textbox(label="Translated text in Quechua")]
17
 
@@ -34,5 +34,5 @@ examples=[
34
  'Debes aprender a respetar',
35
  ]
36
 
37
- iface = gr.Interface(fn=translate, inputs=inputs, outputs=outputs, theme="peach", examples=examples, title=title, description=description, article=article)
38
  iface.launch()
 
11
 
12
  return tokenizer.decode(output[0], skip_special_tokens=True)
13
 
14
+ title = "Spanish to Quechua translation 🦙"
15
  inputs = gr.inputs.Textbox(lines=1, label="Text in Spanish")
16
  outputs = [gr.outputs.Textbox(label="Translated text in Quechua")]
17
 
 
34
  'Debes aprender a respetar',
35
  ]
36
 
37
+ iface = gr.Interface(fn=translate, inputs=inputs, outputs=outputs, theme="dark", examples=examples, title=title, description=description, article=article)
38
  iface.launch()