Spaces:
Build error
Build error
Commit
•
add076a
1
Parent(s):
9fe9342
Update app.py
Browse files
app.py
CHANGED
@@ -21,6 +21,4 @@ def get_image(key, prompt, inference_steps, filter):
|
|
21 |
i = Image.open(BytesIO(r.content))
|
22 |
return i
|
23 |
|
24 |
-
|
25 |
-
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")],
|
26 |
-
outputs = gr.Image(type='pil'), title = title, description = description).launch(debug='True')
|
|
|
21 |
i = Image.open(BytesIO(r.content))
|
22 |
return i
|
23 |
|
24 |
+
|
|
|
|