John6666 commited on
Commit
2c1f22d
·
verified ·
1 Parent(s): f0396f5

Upload gradio_app.py

Browse files
Files changed (1) hide show
  1. gradio_app.py +2 -2
gradio_app.py CHANGED
@@ -241,13 +241,13 @@ with gr.Blocks() as demo:
241
  clear_color=[0.0, 0.0, 0.0, 0.0],
242
  visible=False
243
  )
244
- output_url = gr.Textbox(label="Output URL", value="", lines=1, interactive=False)
245
 
246
  # Event handler
247
  input_img.upload(
248
  fn=generate_and_process_3d,
249
  inputs=[input_img],
250
- outputs=[model_output],
251
  api_name="generate"
252
  )
253
 
 
241
  clear_color=[0.0, 0.0, 0.0, 0.0],
242
  visible=False
243
  )
244
+ output_url = gr.Textbox(label="Output URL", value="", lines=1, interactive=False, visible=False)
245
 
246
  # Event handler
247
  input_img.upload(
248
  fn=generate_and_process_3d,
249
  inputs=[input_img],
250
+ outputs=[model_output, output_url],
251
  api_name="generate"
252
  )
253