kevalfst commited on
Commit
93009f8
·
verified ·
1 Parent(s): e0cf793

Create app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -0
app.py ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ import gradio as gr
2
+
3
+ # Load the deployed interface
4
+ interface = gr.load("spaces/kevalfst/json-generator")
5
+
6
+ # Call it with your prompt
7
+ output = interface("A blog post with title, author, and tags")
8
+ print("Generated JSON:\n", output)