liuganghuggingface commited on
Commit
b4b1733
·
verified ·
1 Parent(s): e9af19b

Upload app.py with huggingface_hub

Browse files
Files changed (1) hide show
  1. app.py +0 -1
app.py CHANGED
@@ -212,7 +212,6 @@ def numpy_to_python(obj):
212
  return obj
213
 
214
  def on_generate(CH4, CO2, H2, N2, O2, guidance_scale, num_nodes, repeating_time, model_state, num_chain_steps, fps):
215
- print('in on_generate', on_generate)
216
  result = generate_graph(CH4, CO2, H2, N2, O2, guidance_scale, num_nodes, repeating_time, model_state, num_chain_steps, fps)
217
  # Check if the generation was successful
218
  if result[0].startswith("**Generated polymer SMILES:**"):
 
212
  return obj
213
 
214
  def on_generate(CH4, CO2, H2, N2, O2, guidance_scale, num_nodes, repeating_time, model_state, num_chain_steps, fps):
 
215
  result = generate_graph(CH4, CO2, H2, N2, O2, guidance_scale, num_nodes, repeating_time, model_state, num_chain_steps, fps)
216
  # Check if the generation was successful
217
  if result[0].startswith("**Generated polymer SMILES:**"):