mgyigit commited on
Commit
86d01ed
·
verified ·
1 Parent(s): f3368e1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -359,7 +359,7 @@ For more details, see our [paper on arXiv](https://arxiv.org/abs/2302.07868).
359
  # Set up the click actions for each tab.
360
  classical_submit.click(
361
  run_inference,
362
- inputs=[gr.State("Generate Molecules"), model_name, num_molecules, seed_num, gr.Textbox.update(value="")],
363
  outputs=[
364
  image_output,
365
  file_download,
@@ -371,7 +371,7 @@ For more details, see our [paper on arXiv](https://arxiv.org/abs/2302.07868).
371
 
372
  custom_submit.click(
373
  run_inference,
374
- inputs=[gr.State("Custom Input SMILES"), model_name_custom, 0, gr.Textbox.update(value=""), custom_smiles],
375
  outputs=[
376
  image_output_custom,
377
  file_download_custom,
 
359
  # Set up the click actions for each tab.
360
  classical_submit.click(
361
  run_inference,
362
+ inputs=[gr.State("Generate Molecules"), model_name, num_molecules, seed_num, ""],
363
  outputs=[
364
  image_output,
365
  file_download,
 
371
 
372
  custom_submit.click(
373
  run_inference,
374
+ inputs=[gr.State("Custom Input SMILES"), model_name_custom, 0, "", custom_smiles],
375
  outputs=[
376
  image_output_custom,
377
  file_download_custom,