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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
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, ""],
363
  outputs=[
364
  image_output,
365
  file_download,
@@ -368,10 +368,10 @@ For more details, see our [paper on arXiv](https://arxiv.org/abs/2302.07868).
368
  ],
369
  api_name="inference_classical"
370
  )
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,
 
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.State("")],
363
  outputs=[
364
  image_output,
365
  file_download,
 
368
  ],
369
  api_name="inference_classical"
370
  )
371
+
372
  custom_submit.click(
373
  run_inference,
374
+ inputs=[gr.State("Custom Input SMILES"), model_name_custom, gr.State(0), gr.State(""), custom_smiles],
375
  outputs=[
376
  image_output_custom,
377
  file_download_custom,