Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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 |
-
|
8 |
-
return
|
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,
|