dhanishetty commited on
Commit
5801106
·
verified ·
1 Parent(s): a2be262

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
+
4
+
5
+
6
+ demo = gr.Interface(fn=get_image,
7
+ inputs = [gr.Textbox(label="Enter API key"), gr.Textbox(label="Enter the Prompt"), gr.Number(label="Enter number of steps"),gr.Checkbox(label="Safety filter")],
8
+ outputs = gr.Image(type='pil'), title = title, description = description).launch(debug='True')