Spaces:
Runtime error
Runtime error
update
Browse files
app.py
CHANGED
@@ -39,7 +39,6 @@ coquiTTS = CoquiTTS()
|
|
39 |
|
40 |
# Driver function
|
41 |
def driver_fun(audio, text) :
|
42 |
-
if audio is None:
|
43 |
|
44 |
if audio is not None and text == 'dummy':
|
45 |
translation, lang = whisper_stt(audio)
|
|
|
39 |
|
40 |
# Driver function
|
41 |
def driver_fun(audio, text) :
|
|
|
42 |
|
43 |
if audio is not None and text == 'dummy':
|
44 |
translation, lang = whisper_stt(audio)
|