liuganghuggingface commited on
Commit
d75beb6
·
verified ·
1 Parent(s): 66142af

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -81,7 +81,8 @@ def save_interesting_log(smiles, properties, suggested_properties):
81
  }
82
  writer.writerow(log_data)
83
 
84
- @spaces.GPU(duration=60)
 
85
  def generate_graph(CH4, CO2, H2, N2, O2, guidance_scale, num_nodes, repeating_time, model_state, num_chain_steps, fps):
86
  model, device = model_state
87
 
 
81
  }
82
  writer.writerow(log_data)
83
 
84
+ # @spaces.GPU(duration=60)
85
+ @spaces.GPU
86
  def generate_graph(CH4, CO2, H2, N2, O2, guidance_scale, num_nodes, repeating_time, model_state, num_chain_steps, fps):
87
  model, device = model_state
88