Spaces:
Runtime error
Runtime error
update
Browse files
app.py
CHANGED
@@ -39,8 +39,9 @@ coquiTTS = CoquiTTS()
|
|
39 |
|
40 |
# Driver function
|
41 |
def driver_fun(audio, text) :
|
42 |
-
|
43 |
-
if audio is not None and
|
|
|
44 |
translation, lang = whisper_stt(audio)
|
45 |
else:
|
46 |
translation = text
|
|
|
39 |
|
40 |
# Driver function
|
41 |
def driver_fun(audio, text) :
|
42 |
+
print("*********** Inside Driver ************")
|
43 |
+
if text == 'dummy': #audio is not None and
|
44 |
+
print(f"Audio is {audio}")
|
45 |
translation, lang = whisper_stt(audio)
|
46 |
else:
|
47 |
translation = text
|