import gradio as gr demo = gr.Interface.load("spaces/stabilityai/stable-diffusion-1") demo.launch(show_api=True)