Spaces:
Runtime error
Runtime error
Daniel Gil-U Fuhge
commited on
Commit
·
3cc8ee8
1
Parent(s):
0caa347
adjust path
Browse files
src/postprocessing/postprocessing.py
CHANGED
|
@@ -21,7 +21,7 @@ def animate_logo(model_output: pd.DataFrame, logo_path: str):
|
|
| 21 |
paths = document.getElementsByTagName('path')
|
| 22 |
for i in range(len(paths)):
|
| 23 |
paths[i].setAttribute('animation_id', str(i))
|
| 24 |
-
with open(
|
| 25 |
svg_file.write(document.toxml(encoding='iso-8859-1'))
|
| 26 |
|
| 27 |
|
|
|
|
| 21 |
paths = document.getElementsByTagName('path')
|
| 22 |
for i in range(len(paths)):
|
| 23 |
paths[i].setAttribute('animation_id', str(i))
|
| 24 |
+
with open(logo_path, 'wb') as svg_file:
|
| 25 |
svg_file.write(document.toxml(encoding='iso-8859-1'))
|
| 26 |
|
| 27 |
|