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