jennysun commited on
Commit
3c64996
β€’
1 Parent(s): ae6ac81

make radio button invisible instead of commenting out

Browse files
Files changed (1) hide show
  1. app.py +7 -6
app.py CHANGED
@@ -545,12 +545,13 @@ with Blocks(
545
  new_image_trigger = gr.Number(value=0, visible=False)
546
 
547
  # UNCOMMENT THIS WHEN YOU WANT TO TOGGLE INPAINTING OPTION
548
- # task = gr.Radio(
549
- # choices=["Version 1: Single Layer", 'Version 2: Inpainting w/ Multiple Layers'],
550
- # type="value",
551
- # value="Grounded Generation",
552
- # label="Task",
553
- # )
 
554
 
555
  # language_instruction = gr.Textbox(
556
  # label="Enter your prompt here",
 
545
  new_image_trigger = gr.Number(value=0, visible=False)
546
 
547
  # UNCOMMENT THIS WHEN YOU WANT TO TOGGLE INPAINTING OPTION
548
+ task = gr.Radio(
549
+ choices=["Version 1: Single Layer", 'Version 2: Inpainting w/ Multiple Layers'],
550
+ type="value",
551
+ value="Grounded Generation",
552
+ label="Task",
553
+ visible=False,
554
+ )
555
 
556
  # language_instruction = gr.Textbox(
557
  # label="Enter your prompt here",