We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 711a0a3 commit 869ccdcCopy full SHA for 869ccdc
replicate/prediction.py
@@ -21,7 +21,7 @@ class Prediction(BaseModel):
21
def wait(self):
22
"""Wait for prediction to finish."""
23
while self.status not in ["succeeded", "failed", "canceled"]:
24
- time.sleep(0.1)
+ time.sleep(0.5)
25
self.reload()
26
27
def output_iterator(self) -> Iterator[Any]:
@@ -33,7 +33,7 @@ def output_iterator(self) -> Iterator[Any]:
33
for output in new_output:
34
yield output
35
previous_output = output
36
37
38
39
if self.status == "failed":
0 commit comments