Update app.py
Browse files
app.py
CHANGED
@@ -33,7 +33,8 @@ def inference(audio):
|
|
33 |
|
34 |
# print audio data as text
|
35 |
print(result.text)
|
36 |
-
|
|
|
37 |
|
38 |
|
39 |
|
|
|
33 |
|
34 |
# print audio data as text
|
35 |
print(result.text)
|
36 |
+
getText = generator(result.text, max_length=8, num_return_sequences=5)
|
37 |
+
return getText, gr.update(visible=True), gr.update(visible=True), gr.update(visible=True)
|
38 |
|
39 |
|
40 |
|