Skip to content

Commit 02a260f

Browse files
rm spaces
1 parent 728000b commit 02a260f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/dalle2/dalle2.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ def generate_and_download(self, promt):
5858
id = generation["id"]
5959

6060
urllib.request.urlretrieve(imageurl, id +".jpg")
61-
print("✔️ Downloaded: " , id + ".jpg")
61+
print("✔️ Downloaded: " , id + ".jpg")
6262

6363
def generate_amount(self, promt, amount):
6464
url = "https://labs.openai.com/api/labs/tasks"
@@ -83,7 +83,7 @@ def generate_amount(self, promt, amount):
8383
print(response.text)
8484
return None
8585
data = response.json()
86-
print("✔️ Task created with ID:", data["id"], "and PROMT:", promt, "OVERALL:" , str(i) + "/" , int(amount / self.batch_size ))
86+
print("✔️ Task created with ID:", data["id"], "and PROMT:", promt, "OVERALL:" , str(i) + "/" , int(amount / self.batch_size ))
8787
print("⌛ Waiting for task to finish .. ")
8888

8989
while True:
@@ -93,7 +93,7 @@ def generate_amount(self, promt, amount):
9393
if data["status"] == "succeeded":
9494

9595
generations = data["generations"]["data"]
96-
print("➕ Appended new generations to all_generations")
96+
print("➕ Appended new generations to all_generations")
9797
all_generations.append(generations)
9898
break
9999
else:

0 commit comments

Comments
 (0)