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