Spaces:
Sleeping
Sleeping
Update src/streamlit_app.py
Browse files- src/streamlit_app.py +3 -2
src/streamlit_app.py
CHANGED
|
@@ -88,8 +88,9 @@ if generate_button:
|
|
| 88 |
try:
|
| 89 |
gif_path = plot_eeg_topomap_muse_from_csv(
|
| 90 |
csv_url,
|
| 91 |
-
|
| 92 |
-
save_directory=
|
|
|
|
| 93 |
show_names=True
|
| 94 |
)
|
| 95 |
if gif_path:
|
|
|
|
| 88 |
try:
|
| 89 |
gif_path = plot_eeg_topomap_muse_from_csv(
|
| 90 |
csv_url,
|
| 91 |
+
save_directory = os.path.join(".", "animations")
|
| 92 |
+
os.makedirs(save_directory, exist_ok=True)
|
| 93 |
+
save_path_animation = os.path.join(save_directory, "eeg_topomap_animation.gif")
|
| 94 |
show_names=True
|
| 95 |
)
|
| 96 |
if gif_path:
|