Spaces:
Build error
Build error
Commit ·
31c55d1
1
Parent(s): be3cbf2
Update app.py
Browse files
app.py
CHANGED
|
@@ -70,7 +70,7 @@ with st.form("my_form"):
|
|
| 70 |
img_zip.writestr(img_name, image.read())
|
| 71 |
|
| 72 |
with zipfile.ZipFile("labels.zip", "w") as zip:
|
| 73 |
-
for i,t in enumerate(
|
| 74 |
txt_name = f"{i}_label"
|
| 75 |
zip.writestr(txt_name, t)
|
| 76 |
|
|
|
|
| 70 |
img_zip.writestr(img_name, image.read())
|
| 71 |
|
| 72 |
with zipfile.ZipFile("labels.zip", "w") as zip:
|
| 73 |
+
for i,t in enumerate(words):
|
| 74 |
txt_name = f"{i}_label"
|
| 75 |
zip.writestr(txt_name, t)
|
| 76 |
|