Spaces:
Runtime error
Runtime error
update
Browse files
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')
|