prateekbh commited on
Commit
0a07f20
·
verified ·
1 Parent(s): 57b0656

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -101,9 +101,9 @@ def resize_image(image):
101
 
102
 
103
  def process(image):
104
-
105
  # prepare input
106
- orig_image = Image.fromarray(image)
107
  # w,h = orig_im_size = orig_image.size
108
  # image = resize_image(orig_image)
109
  # im_np = np.array(image)
@@ -129,7 +129,7 @@ def process(image):
129
  # new_im.paste(orig_image, mask=pil_im)
130
  # # new_orig_image = orig_image.convert('RGBA')
131
 
132
- return image
133
 
134
 
135
  title = """<h1 style="text-align: center;">Product description generator</h1>"""
 
101
 
102
 
103
  def process(image):
104
+ return image
105
  # prepare input
106
+ # orig_image = Image.fromarray(image)
107
  # w,h = orig_im_size = orig_image.size
108
  # image = resize_image(orig_image)
109
  # im_np = np.array(image)
 
129
  # new_im.paste(orig_image, mask=pil_im)
130
  # # new_orig_image = orig_image.convert('RGBA')
131
 
132
+ # return image
133
 
134
 
135
  title = """<h1 style="text-align: center;">Product description generator</h1>"""