liuganghuggingface commited on
Commit
02d6370
·
verified ·
1 Parent(s): cb5ba52

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -118,7 +118,7 @@ def save_interesting_log(smiles, properties, suggested_properties):
118
  }
119
  writer.writerow(log_data)
120
 
121
- @spaces.GPU
122
  def generate_graph(CH4, CO2, H2, N2, O2, guidance_scale, num_nodes, repeating_time, model_state, num_chain_steps, fps):
123
  print('in generate_graph')
124
  model, device = model_state
 
118
  }
119
  writer.writerow(log_data)
120
 
121
+ @spaces.GPU(duration=75)
122
  def generate_graph(CH4, CO2, H2, N2, O2, guidance_scale, num_nodes, repeating_time, model_state, num_chain_steps, fps):
123
  print('in generate_graph')
124
  model, device = model_state