Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -4,5 +4,5 @@ def traductor(text):
4
  pipe = pipeline("translation", model="Helsinki-NLP/opus-mt-es-en")
5
  return pipe(text)[0]['translation-text']
6
 
7
- demo = gr.Interface(fn=saluda, inputs="text", outputs="text")
8
  demo.launch(share=True)
 
4
  pipe = pipeline("translation", model="Helsinki-NLP/opus-mt-es-en")
5
  return pipe(text)[0]['translation-text']
6
 
7
+ demo = gr.Interface(fn=traductor, inputs="text", outputs="text")
8
  demo.launch(share=True)