Update app.py
Browse files
app.py
CHANGED
@@ -79,8 +79,8 @@ def inference(audio):
|
|
79 |
# print audio data as text
|
80 |
# print(result.text)
|
81 |
getText = generator(result.text, max_new_tokens=10, num_return_sequences=5)
|
82 |
-
pprint(getText)
|
83 |
-
return getText, gr.update(visible=True), gr.update(visible=True), gr.update(visible=True)
|
84 |
|
85 |
|
86 |
|
|
|
79 |
# print audio data as text
|
80 |
# print(result.text)
|
81 |
getText = generator(result.text, max_new_tokens=10, num_return_sequences=5)
|
82 |
+
pprint(result.text, getText)
|
83 |
+
return result.text, getText, gr.update(visible=True), gr.update(visible=True), gr.update(visible=True)
|
84 |
|
85 |
|
86 |
|