Added timeouts to give Modal time

This commit is contained in:
Edward Donner
2024-11-13 23:38:39 +00:00
parent 8f9c0905ee
commit 3189509cfa
4 changed files with 5 additions and 5 deletions

View File

@@ -22,7 +22,7 @@ QUESTION = "How much does this cost to the nearest dollar?"
PREFIX = "Price is $"
@app.cls(image=image, secrets=secrets, gpu=GPU)
@app.cls(image=image, secrets=secrets, gpu=GPU, timeout=1800)
class Pricer:
@modal.build()
def download_model_to_folder(self):