import os from gradio_client import Client import gradio HF_token = os.environ.get('HF_token') # client = Client('bryanjeshua/rehabily', hf_token=HF_token ) demo = gradio.load("bryanjeshua/rehabily", src='spaces', api_key=HF_token) demo.launch()