import gradio as gr # Load the deployed interface interface = gr.load("spaces/kevalfst/json-generator") # Call it with your prompt output = interface("A blog post with title, author, and tags") print("Generated JSON:\n", output)