File size: 231 Bytes
93009f8
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
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)