Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -10,7 +10,7 @@ def transcribe(audio):
|
|
10 |
|
11 |
def generateText(audio):
|
12 |
text = pipe1(audio)["text"]
|
13 |
-
generated_text = pipe2(text, max_length = 30, num_return_sequences=1)['generated_text']
|
14 |
return generated_text
|
15 |
|
16 |
iface = gr.Interface(
|
|
|
10 |
|
11 |
def generateText(audio):
|
12 |
text = pipe1(audio)["text"]
|
13 |
+
generated_text = pipe2(text, max_length = 30, num_return_sequences=1)[0]['generated_text']
|
14 |
return generated_text
|
15 |
|
16 |
iface = gr.Interface(
|