Spaces:
mskov
/
Runtime error

mskov commited on
Commit
48be26b
·
1 Parent(s): 5352d9d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -32,8 +32,9 @@ def inference(audio):
32
  result = whisper.decode(model, mel, options)
33
 
34
  # print audio data as text
35
- print(result.text)
36
  getText = generator(result.text, max_length=8, num_return_sequences=5)
 
37
  return getText, gr.update(visible=True), gr.update(visible=True), gr.update(visible=True)
38
 
39
 
 
32
  result = whisper.decode(model, mel, options)
33
 
34
  # print audio data as text
35
+ # print(result.text)
36
  getText = generator(result.text, max_length=8, num_return_sequences=5)
37
+ print(getText)
38
  return getText, gr.update(visible=True), gr.update(visible=True), gr.update(visible=True)
39
 
40