Spaces:
Sleeping
Sleeping
Update app.py
Browse files102 unmodified lines103104105106107108109110111112102 unmodified linesdef transcribe_long_form(filepath):if filepath is None:gr.Warning("No audio found, please retry.")return ""gradio_audio.append(filepath)ru_text = get_text_from_audio(gradio_audio[0])eng_text = translate_ru_to_en(ru_text)answer = ask_question_about_image(eng_text)ru_text_ans = translate_en_to_ru(answer)102 unmodified lines103104105106107108109110111102 unmodified linesdef transcribe_long_form(filepath):if filepath is None:gr.Warning("No audio found, please retry.")returnru_text = get_text_from_audio(filepath)eng_text = translate_ru_to_en(ru_text)answer = ask_question_about_image(eng_text)ru_text_ans = translate_en_to_ru(answer)
app.py+3-4