Linoy Tsaban commited on
Commit
a1e82c6
1 Parent(s): 28bba32

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -370,7 +370,7 @@ with gr.Blocks(css="style.css") as demo:
370
  row1_visibility, row2_visibility, row3_visibility, row4_visibility = rows_visibility
371
 
372
  guidance_scale_label = "Concept Guidance Scale"
373
- enable_interactive = gr.update(interactive=True)
374
  return (gr.update(visible=False),
375
  gr.update(visible=False, value="",),
376
  gr.update(interactive=True, value=""),
@@ -379,7 +379,7 @@ with gr.Blocks(css="style.css") as demo:
379
  gr.update(value=DEFAULT_WARMUP_STEPS),
380
  gr.update(value=DEFAULT_THRESHOLD),
381
  gr.update(visible=True),
382
- enable_interactive,
383
  row1_visibility,
384
  row2_visibility,
385
  row3_visibility,
 
370
  row1_visibility, row2_visibility, row3_visibility, row4_visibility = rows_visibility
371
 
372
  guidance_scale_label = "Concept Guidance Scale"
373
+ # enable_interactive = gr.update(interactive=True)
374
  return (gr.update(visible=False),
375
  gr.update(visible=False, value="",),
376
  gr.update(interactive=True, value=""),
 
379
  gr.update(value=DEFAULT_WARMUP_STEPS),
380
  gr.update(value=DEFAULT_THRESHOLD),
381
  gr.update(visible=True),
382
+ gr.update(interactive=True, value="custom"),
383
  row1_visibility,
384
  row2_visibility,
385
  row3_visibility,