abdullahsamra commited on
Commit
d0bff3b
·
verified ·
1 Parent(s): a62ecf8

Upload folder using huggingface_hub

Browse files
Files changed (2) hide show
  1. __pycache__/app.cpython-310.pyc +0 -0
  2. app.py +2 -1
__pycache__/app.cpython-310.pyc CHANGED
Binary files a/__pycache__/app.cpython-310.pyc and b/__pycache__/app.cpython-310.pyc differ
 
app.py CHANGED
@@ -155,6 +155,7 @@ def score_smiles(smiles_text):
155
  ],
156
  }
157
  csv_path = write_results_csv(df)
 
158
  return df, response, csv_path
159
 
160
 
@@ -544,7 +545,7 @@ Important:
544
  score_btn.click(
545
  score_smiles,
546
  inputs=smiles_input,
547
- outputs=[score_table, score_json],
548
  )
549
  with gr.Tab("Generate Job Demo"):
550
  gr.Markdown(
 
155
  ],
156
  }
157
  csv_path = write_results_csv(df)
158
+ response["download_csv_file"] = csv_path
159
  return df, response, csv_path
160
 
161
 
 
545
  score_btn.click(
546
  score_smiles,
547
  inputs=smiles_input,
548
+ outputs=[score_table, score_json, score_csv],
549
  )
550
  with gr.Tab("Generate Job Demo"):
551
  gr.Markdown(