Update app.py
Browse files
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 |
|