import gradio as gr import os HF_token = os.environ.get('HF_token') iface = gr.load('tripsbyai/input_output_json', src='spaces', api_key=HF_token ) iface.launch()