BrianL commited on
Commit
ab2c296
·
1 Parent(s): c900125

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -4,8 +4,8 @@ from transformers import pipeline
4
  def trnslt(text):
5
  first = gr.Interface.load("Helsinki-NLP/opus-mt-tl-en")
6
  second = gr.Interface.load("Helsinki-NLP/opus-mt-en-ceb")
7
- iface = gr.Series(textgen, tts)
8
- return iface
9
 
10
  iface = gr.Interface(
11
  fn=trnslt,
 
4
  def trnslt(text):
5
  first = gr.Interface.load("Helsinki-NLP/opus-mt-tl-en")
6
  second = gr.Interface.load("Helsinki-NLP/opus-mt-en-ceb")
7
+ test = gr.Series(textgen, tts)
8
+ return test
9
 
10
  iface = gr.Interface(
11
  fn=trnslt,