RajputVansh commited on
Commit
c1ffb0b
·
verified ·
1 Parent(s): 77d3723

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -12,7 +12,7 @@ import queue
12
  import time
13
  from PIL import Image
14
  from io import BytesIO
15
- os.makedirs("ContentCreator/created_image", exist_ok=True)
16
 
17
  nest_asyncio.apply()
18
 
@@ -116,7 +116,7 @@ def decode_and_save_image(image_b64, filename):
116
  from io import BytesIO
117
 
118
  # Ensure the path is inside created_image/
119
- full_path = os.path.join("ContentCreator/created_image", filename)
120
  image_b64 = image_b64.strip()
121
  missing_padding = len(image_b64) % 4
122
  if missing_padding:
 
12
  import time
13
  from PIL import Image
14
  from io import BytesIO
15
+ os.makedirs("AI-Marketing-Content-Creator/created_image", exist_ok=True)
16
 
17
  nest_asyncio.apply()
18
 
 
116
  from io import BytesIO
117
 
118
  # Ensure the path is inside created_image/
119
+ full_path = os.path.join("AI-Marketing-Content-Creator/created_image", filename)
120
  image_b64 = image_b64.strip()
121
  missing_padding = len(image_b64) % 4
122
  if missing_padding: