Spaces:
Running
Running
Update app.py
Browse files
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.
|
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.
|
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",
|