jonathanjordan21 commited on
Commit
1b463cd
·
1 Parent(s): 0661f88

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -70,12 +70,12 @@ with st.form("my_form"):
70
 
71
  with zipfile.ZipFile('images.zip', 'w') as img_zip:
72
  for i,image in enumerate(images):
73
- img_name = f"{i}_image"
74
  img_zip.writestr(img_name, image.read())
75
 
76
  with zipfile.ZipFile("labels.zip", "w") as zip:
77
  for i,t in enumerate(words):
78
- txt_name = f"{i}_label"
79
  zip.writestr(txt_name, t)
80
 
81
  st.session_state.download = True
 
70
 
71
  with zipfile.ZipFile('images.zip', 'w') as img_zip:
72
  for i,image in enumerate(images):
73
+ img_name = f"{i}_image.jpg"
74
  img_zip.writestr(img_name, image.read())
75
 
76
  with zipfile.ZipFile("labels.zip", "w") as zip:
77
  for i,t in enumerate(words):
78
+ txt_name = f"{i}_label.txt"
79
  zip.writestr(txt_name, t)
80
 
81
  st.session_state.download = True