Spaces:
Runtime error
Runtime error
import os | |
os.system("pip uninstall -y gradio") | |
os.system("pip install gradio==3.50.0") | |
import gradio as gr | |
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() |