fffiloni commited on
Commit
31c7f73
·
verified ·
1 Parent(s): 7d0354c

hide api endpoint for prompt submit

Browse files
Files changed (1) hide show
  1. app.py +1 -0
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],