AP123 commited on
Commit
f476ce2
1 Parent(s): cf296f0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -21,7 +21,7 @@ def text_to_image(prompt):
21
 
22
  def create_cereal_box(input_image):
23
  cover_img = Image.fromarray(input_image.astype('uint8'), 'RGB')
24
- template_img = Image.open('/content/866b9b8f50b50879120be0b87dfd6050.jpg')
25
  scaling_factor = 1.5
26
  rect_height = int(template_img.height * 0.32)
27
  new_width = int(rect_height * 0.70)
 
21
 
22
  def create_cereal_box(input_image):
23
  cover_img = Image.fromarray(input_image.astype('uint8'), 'RGB')
24
+ template_img = Image.open('CerealBoxMaker/template.jpeg')
25
  scaling_factor = 1.5
26
  rect_height = int(template_img.height * 0.32)
27
  new_width = int(rect_height * 0.70)