Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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()
|