ysharma HF staff commited on
Commit
e14e08f
1 Parent(s): cb76e1a
Files changed (1) hide show
  1. app.py +3 -2
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 text == 'dummy':
 
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