Update app.py
Browse files
app.py
CHANGED
@@ -70,7 +70,7 @@ def transcribe(apikey, upload, audio, choice1):
|
|
70 |
voicefixer.restore(input="output.wav", # input wav file path
|
71 |
output="audio1.wav", # output wav file path
|
72 |
cuda=True, # whether to use gpu acceleration
|
73 |
-
mode =
|
74 |
|
75 |
return [result.text, chat_response, "audio1.wav"]
|
76 |
|
|
|
70 |
voicefixer.restore(input="output.wav", # input wav file path
|
71 |
output="audio1.wav", # output wav file path
|
72 |
cuda=True, # whether to use gpu acceleration
|
73 |
+
mode = 1) # You can try out mode 0, 1 to find out the best result
|
74 |
|
75 |
return [result.text, chat_response, "audio1.wav"]
|
76 |
|