mgyigit commited on
Commit
3efbb3d
·
verified ·
1 Parent(s): 0fef9b3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -434,7 +434,7 @@ For more details, see our [paper on arXiv](https://arxiv.org/abs/2302.07868).
434
  """)
435
 
436
  # Create container for generation mode inputs
437
- with gr.Box(visible=True, elem_id="generate-box", elem_classes="input-box") as generate_group:
438
  num_molecules = gr.Slider(
439
  minimum=10,
440
  maximum=250,
@@ -452,7 +452,7 @@ For more details, see our [paper on arXiv](https://arxiv.org/abs/2302.07868).
452
  )
453
 
454
  # Create container for SMILES input mode
455
- with gr.Box(visible=False, elem_id="smiles-box", elem_classes="input-box") as smiles_group:
456
  smiles_input = gr.Textbox(
457
  label="Input SMILES",
458
  info="Enter up to 100 SMILES strings, one per line",
 
434
  """)
435
 
436
  # Create container for generation mode inputs
437
+ with gr.Group(visible=True, elem_id="generate-box", elem_classes="input-box") as generate_group:
438
  num_molecules = gr.Slider(
439
  minimum=10,
440
  maximum=250,
 
452
  )
453
 
454
  # Create container for SMILES input mode
455
+ with gr.Group(visible=False, elem_id="smiles-box", elem_classes="input-box") as smiles_group:
456
  smiles_input = gr.Textbox(
457
  label="Input SMILES",
458
  info="Enter up to 100 SMILES strings, one per line",