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