eeuuia commited on
Commit
b817bbb
·
verified ·
1 Parent(s): 1947e99

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -4
app.py CHANGED
@@ -221,11 +221,7 @@ def _build_postprod_controls(ui: dict):
221
  def _register_event_handlers(app_state: gr.State, ui: dict):
222
  """Registra todos os manipuladores de eventos do Gradio."""
223
 
224
- def toggle_custom_guidance(preset_choice: str) -> gr.update:
225
- return gr.update(visible=(preset_choice == "Customizado"))
226
 
227
- ui['fp_guidance_preset'].change(fn=toggle_custom_guidance, inputs=ui['fp_guidance_preset'], outputs=ui['custom_guidance_group'])
228
-
229
  def update_seed_display(state):
230
  return state.get("used_seed", "N/A")
231
 
 
221
  def _register_event_handlers(app_state: gr.State, ui: dict):
222
  """Registra todos os manipuladores de eventos do Gradio."""
223
 
 
 
224
 
 
 
225
  def update_seed_display(state):
226
  return state.get("used_seed", "N/A")
227