Spaces:
Sleeping
Sleeping
Commit ·
d3a938c
1
Parent(s): 8c04068
commit removed unwanted
Browse files
app.py
CHANGED
|
@@ -353,7 +353,7 @@ def chat_stream_doc():
|
|
| 353 |
with zipfile.ZipFile(zip_buffer, "w", zipfile.ZIP_DEFLATED) as zipf:
|
| 354 |
file_count = 0
|
| 355 |
for match in matches:
|
| 356 |
-
filename = match.group(1).strip().
|
| 357 |
code = match.group(2).strip()
|
| 358 |
zipf.writestr(filename, code)
|
| 359 |
file_count += 1
|
|
|
|
| 353 |
with zipfile.ZipFile(zip_buffer, "w", zipfile.ZIP_DEFLATED) as zipf:
|
| 354 |
file_count = 0
|
| 355 |
for match in matches:
|
| 356 |
+
filename = match.group(1).strip().strip("`")
|
| 357 |
code = match.group(2).strip()
|
| 358 |
zipf.writestr(filename, code)
|
| 359 |
file_count += 1
|