Spaces:
mskov
/
Runtime error

mskov commited on
Commit
3ef4c6e
·
1 Parent(s): c6e6055

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -81,9 +81,9 @@ 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
- pprint("text.result: ", result.text)
85
  # result.text
86
- return getText, gr.update(visible=True), gr.update(visible=True), gr.update(visible=True)
87
 
88
 
89
 
 
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: ", result.text)
85
  # result.text
86
+ return result.text, gr.update(visible=True), gr.update(visible=True), gr.update(visible=True)
87
 
88
 
89