Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -17,7 +17,7 @@ os.system("mv *.pth /home/user/.local/share/allmetal3d/weights/")
|
|
17 |
from allmetal3d.utils.helpersNew import *
|
18 |
from allmetal3d.utils.main import predict, predict_cli, update_mode
|
19 |
|
20 |
-
@spaces.GPU(duration=
|
21 |
def predict_zero_gpu(pdb, models, pthreshold, threshold, batch_size, mode, central_residue, radius):
|
22 |
return predict(pdb, models, pthreshold, threshold, batch_size, mode, central_residue, radius, backend="joblib")
|
23 |
|
|
|
17 |
from allmetal3d.utils.helpersNew import *
|
18 |
from allmetal3d.utils.main import predict, predict_cli, update_mode
|
19 |
|
20 |
+
@spaces.GPU(duration=80)
|
21 |
def predict_zero_gpu(pdb, models, pthreshold, threshold, batch_size, mode, central_residue, radius):
|
22 |
return predict(pdb, models, pthreshold, threshold, batch_size, mode, central_residue, radius, backend="joblib")
|
23 |
|