karolkrusz commited on
Commit
a153c31
·
1 Parent(s): b7f1ecd

AppState product_name

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -137,7 +137,7 @@ def generate_urls(img, start_angle=0, end_angle=350, step=10):
137
  return urls
138
 
139
 
140
- async def download_images(img_urls, fabric_name):
141
  # Compile a regex pattern to extract the angle from the URL
142
  angle_pattern = re.compile(r'angle/(\d+)')
143
  count_img_downloaded = 0 # Counter for downloaded images
 
137
  return urls
138
 
139
 
140
+ async def download_images(img_urls, fabric_name, product_name):
141
  # Compile a regex pattern to extract the angle from the URL
142
  angle_pattern = re.compile(r'angle/(\d+)')
143
  count_img_downloaded = 0 # Counter for downloaded images