import gradio as gr import os os.system("pip uninstall -y gradio") os.system("pip install gradio==2.6.4") HF_TOKEN = os.getenv('HF_TOKEN') # Load the interface from the specified space interface = gr.Interface.load("spaces/Karzan/Barnammer-TTS",api_key=HF_TOKEN) # Launch the interface interface.launch()