Spaces:
Runtime error
Runtime error
Update app.py
Browse files138 unmodified lines139140141142143144145142143144436 unmodified lines581582583588584585586587138 unmodified lines except Exception as e: return f"{e}"
import osimport uuid
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 lines
def create_interface(): # with gr.Blocks(theme='ParityError/Anime') as iface: with gr.Blocks() as interface: with gr.Blocks(theme='ParityError/Anime') as interface: # Display the welcome message gr.Markdown(welcome_message) # Add a 'None' or similar option to represent no selectionapp.py+1-5