Spaces:
Runtime error
Runtime error
Update app.py
Browse files138 unmodified lines139140141142143144145146147148436 unmodified lines585586587588589590591138 unmodified linesexcept Exception as e:return f"{e}"import osimport uuiddef convert_text_to_speech(input_text: str, source_language: str, target_language: str) -> tuple[str, str]:client = Client("https://facebook-seamless-m4t.hf.space/--replicas/8cllp/")436 unmodified linesdef create_interface():# with gr.Blocks(theme='ParityError/Anime') as iface:with gr.Blocks() as interface:# Display the welcome messagegr.Markdown(welcome_message)# Add a 'None' or similar option to represent no selection138 unmodified lines139140141142143144436 unmodified lines581582583584585586587138 unmodified linesexcept Exception as e:return f"{e}"def convert_text_to_speech(input_text: str, source_language: str, target_language: str) -> tuple[str, str]:client = Client("https://facebook-seamless-m4t.hf.space/--replicas/8cllp/")436 unmodified linesdef create_interface():# with gr.Blocks(theme='ParityError/Anime') as iface:with gr.Blocks(theme='ParityError/Anime') as interface:# Display the welcome messagegr.Markdown(welcome_message)# Add a 'None' or similar option to represent no selection
app.py+1-5