HenRick69 commited on
Commit
13f332c
1 Parent(s): bef75e2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -3
app.py CHANGED
@@ -7,12 +7,10 @@ def predict(text):
7
  return pipe(text)[0]["translation_text"]
8
 
9
  demo = gr.Interface(
 
10
  fn=predict,
11
  inputs='text',
12
  outputs='text',
13
  )
14
 
15
- print('English to Spanish translation!! :)')
16
- print('Traducci贸n de Ingl茅s a Espa帽ol! :D\n')
17
-
18
  demo.launch()
 
7
  return pipe(text)[0]["translation_text"]
8
 
9
  demo = gr.Interface(
10
+ title='English to Spanish translation!! :)\nTraducci贸n de Ingl茅s a Espa帽ol! :D\n'
11
  fn=predict,
12
  inputs='text',
13
  outputs='text',
14
  )
15
 
 
 
 
16
  demo.launch()