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