Spaces:
Runtime error
Runtime error
fix key
Browse files
app.py
CHANGED
@@ -91,7 +91,7 @@ def process(file_name, embed_html_all):
|
|
91 |
with open(output_csv, "w") as w:
|
92 |
writer = csv.writer(w)
|
93 |
for top in tops:
|
94 |
-
file = os.path.
|
95 |
writer.writerow(dict_catalog[file].values())
|
96 |
|
97 |
return (embed_html_all, output_csv, *formated)
|
|
|
91 |
with open(output_csv, "w") as w:
|
92 |
writer = csv.writer(w)
|
93 |
for top in tops:
|
94 |
+
file = os.path.basename(top)
|
95 |
writer.writerow(dict_catalog[file].values())
|
96 |
|
97 |
return (embed_html_all, output_csv, *formated)
|