Spaces:
Runtime error
Runtime error
idek
Browse files
app.py
CHANGED
@@ -113,8 +113,8 @@ with gr.Blocks(css=css) as demo:
|
|
113 |
inputs=[image_in, prompt, inference_steps, guidance_scale, control_weight],
|
114 |
outputs=[result, canny_used],
|
115 |
api_name="predict",
|
116 |
-
show_api=
|
117 |
)
|
118 |
|
119 |
# Enable API by setting enable_api=True
|
120 |
-
demo.queue().launch()
|
|
|
113 |
inputs=[image_in, prompt, inference_steps, guidance_scale, control_weight],
|
114 |
outputs=[result, canny_used],
|
115 |
api_name="predict",
|
116 |
+
show_api=True
|
117 |
)
|
118 |
|
119 |
# Enable API by setting enable_api=True
|
120 |
+
demo.queue().launch(show_api=True)
|