Skip to content

Commit b74a762

Browse files
batch size from 6 to 4
from openai: "4 images per prompt: Starting later today, DALL·E will return four images instead of six. This allows more people to experience DALL·E by lessening the strain on our capacity."
1 parent c89a745 commit b74a762

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/dalle2/dalle2.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
class Dalle2():
1010
def __init__(self, bearer):
1111
self.bearer = bearer
12-
self.batch_size = 6
12+
self.batch_size = 4
1313

1414
def generate(self, promt):
1515
url = "https://labs.openai.com/api/labs/tasks"
@@ -102,4 +102,4 @@ def generate_amount(self, promt, amount):
102102
continue
103103
print("🙌 Task completed!")
104104
print(all_generations)
105-
return all_generations
105+
return all_generations

0 commit comments

Comments
 (0)