Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -394,12 +394,8 @@ with gr.Blocks(theme=gr.themes.Soft(), css=css) as demo:
|
|
394 |
|
395 |
# When any prompt component changes, update the derived fields
|
396 |
for component in prompt_component_inputs:
|
397 |
-
|
398 |
-
|
399 |
-
component.change(update_derived_fields, inputs=prompt_component_inputs, outputs=derived_outputs, queue=False)
|
400 |
-
else:
|
401 |
-
component.input(update_derived_fields, inputs=prompt_component_inputs, outputs=derived_outputs, queue=False)
|
402 |
-
|
403 |
run_button.click(
|
404 |
fn=run_diptych_prompting,
|
405 |
inputs=[
|
|
|
394 |
|
395 |
# When any prompt component changes, update the derived fields
|
396 |
for component in prompt_component_inputs:
|
397 |
+
component.change(update_derived_fields, inputs=prompt_component_inputs, outputs=derived_outputs, queue=False, show_progress="hidden")
|
398 |
+
|
|
|
|
|
|
|
|
|
399 |
run_button.click(
|
400 |
fn=run_diptych_prompting,
|
401 |
inputs=[
|