ysharma HF staff commited on
Commit
a18abb2
1 Parent(s): 9d10166
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -58,7 +58,7 @@ def driver_fun(audio) :
58
  translation, lang = whisper_stt(audio) # older : transcribe, translation, lang
59
  #text1 = model.transcribe(audio)["text"]
60
 
61
- if translation
62
  #For now only taking in English text for Bloom prompting as inference model is not high spec
63
  #text_generated = lang_model_response(transcribe, lang)
64
  #text_generated_en = lang_model_response(translation, 'en')
 
58
  translation, lang = whisper_stt(audio) # older : transcribe, translation, lang
59
  #text1 = model.transcribe(audio)["text"]
60
 
61
+ #if translation
62
  #For now only taking in English text for Bloom prompting as inference model is not high spec
63
  #text_generated = lang_model_response(transcribe, lang)
64
  #text_generated_en = lang_model_response(translation, 'en')