AP123 commited on
Commit
03c2b69
1 Parent(s): f476ce2

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('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)
 
21
 
22
  def create_cereal_box(input_image):
23
  cover_img = Image.fromarray(input_image.astype('uint8'), 'RGB')
24
+ template_img = Image.open("template.jpeg")
25
  scaling_factor = 1.5
26
  rect_height = int(template_img.height * 0.32)
27
  new_width = int(rect_height * 0.70)