Spaces:
Running
on
T4
Running
on
T4
simonduerr
commited on
Commit
•
cb07643
1
Parent(s):
1b9f0be
Update app.py
Browse files
app.py
CHANGED
@@ -197,7 +197,7 @@ def save_pdb(outs, filename, LEN):
|
|
197 |
f.write(pdb_lines)
|
198 |
|
199 |
|
200 |
-
@ray.remote(num_gpus=
|
201 |
def run_alphafold(sequences, num_recycles):
|
202 |
recycles = num_recycles
|
203 |
RUNNER, OPT = setup_af(sequences[0])
|
|
|
197 |
f.write(pdb_lines)
|
198 |
|
199 |
|
200 |
+
@ray.remote(num_gpus=1, max_calls=1)
|
201 |
def run_alphafold(sequences, num_recycles):
|
202 |
recycles = num_recycles
|
203 |
RUNNER, OPT = setup_af(sequences[0])
|