ImageStudio Maintainer Claude Opus 4.8 (1M context) commited on
Commit
4f84136
Β·
1 Parent(s): daf5e70

fix: drop unsupported show_api kwarg on prompt.submit (Gradio 6)

Browse files

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -596,7 +596,7 @@ with gr.Blocks(fill_height=True) as demo:
596
  )
597
  prompt.submit(
598
  fn=generate_and_upload, inputs=gen_inputs,
599
- outputs=[output_image, used_seed, r2_status], show_api=False,
600
  )
601
 
602
  if __name__ == "__main__":
 
596
  )
597
  prompt.submit(
598
  fn=generate_and_upload, inputs=gen_inputs,
599
+ outputs=[output_image, used_seed, r2_status],
600
  )
601
 
602
  if __name__ == "__main__":