Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -339,8 +339,7 @@ with gr.Blocks(css=css) as demo:
|
|
339 |
fn=infer,
|
340 |
inputs=[input_image, width_slider, height_slider, overlap_width, num_inference_steps,
|
341 |
resize_option, custom_resize_size, prompt_input, alignment_dropdown],
|
342 |
-
outputs=result
|
343 |
-
stream=True # μΆκ°: infer ν¨μκ° μ λλ μ΄ν°μ΄λ―λ‘ μ€νΈλ¦¬λ° νμ±ν
|
344 |
).then(
|
345 |
fn=lambda: gr.update(visible=True),
|
346 |
inputs=None,
|
@@ -355,8 +354,7 @@ with gr.Blocks(css=css) as demo:
|
|
355 |
fn=infer,
|
356 |
inputs=[input_image, width_slider, height_slider, overlap_width, num_inference_steps,
|
357 |
resize_option, custom_resize_size, prompt_input, alignment_dropdown],
|
358 |
-
outputs=result
|
359 |
-
stream=True # μΆκ°: μ λλ μ΄ν° ν¨μμ΄λ―λ‘ μ€νΈλ¦¬λ° νμ±ν
|
360 |
).then(
|
361 |
fn=lambda: gr.update(visible=True),
|
362 |
inputs=None,
|
|
|
339 |
fn=infer,
|
340 |
inputs=[input_image, width_slider, height_slider, overlap_width, num_inference_steps,
|
341 |
resize_option, custom_resize_size, prompt_input, alignment_dropdown],
|
342 |
+
outputs=result
|
|
|
343 |
).then(
|
344 |
fn=lambda: gr.update(visible=True),
|
345 |
inputs=None,
|
|
|
354 |
fn=infer,
|
355 |
inputs=[input_image, width_slider, height_slider, overlap_width, num_inference_steps,
|
356 |
resize_option, custom_resize_size, prompt_input, alignment_dropdown],
|
357 |
+
outputs=result
|
|
|
358 |
).then(
|
359 |
fn=lambda: gr.update(visible=True),
|
360 |
inputs=None,
|