json-spa / app.py
kevalfst's picture
Create app.py
93009f8 verified
raw
history blame
231 Bytes
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)