Spaces:
Running
on
Zero
Running
on
Zero
hide api endpoint for prompt submit
Browse files
app.py
CHANGED
@@ -491,6 +491,7 @@ with gr.Blocks(css=css) as demo:
|
|
491 |
resize_option, custom_resize_percentage, prompt_input, alignment_dropdown,
|
492 |
overlap_left, overlap_right, overlap_top, overlap_bottom],
|
493 |
outputs=result,
|
|
|
494 |
).then( # Update the history gallery
|
495 |
fn=lambda x, history: update_history(x[1], history),
|
496 |
inputs=[result, history_gallery],
|
|
|
491 |
resize_option, custom_resize_percentage, prompt_input, alignment_dropdown,
|
492 |
overlap_left, overlap_right, overlap_top, overlap_bottom],
|
493 |
outputs=result,
|
494 |
+
show_api=False
|
495 |
).then( # Update the history gallery
|
496 |
fn=lambda x, history: update_history(x[1], history),
|
497 |
inputs=[result, history_gallery],
|