Spaces:
Runtime error
Runtime error
kbberendsen
commited on
Commit
•
5bb732d
1
Parent(s):
f94c9eb
cache error handling
Browse files
app.py
CHANGED
@@ -7,8 +7,12 @@ from matplotlib import cm
|
|
7 |
import numpy as np
|
8 |
import os
|
9 |
|
10 |
-
|
11 |
-
|
|
|
|
|
|
|
|
|
12 |
|
13 |
app_ui = ui.page_fluid(
|
14 |
ui.div(
|
|
|
7 |
import numpy as np
|
8 |
import os
|
9 |
|
10 |
+
try:
|
11 |
+
cache_dir = os.path.exists("cache")
|
12 |
+
ff1.Cache.enable_cache(cache_dir)
|
13 |
+
except:
|
14 |
+
print('Cache error!!')
|
15 |
+
|
16 |
|
17 |
app_ui = ui.page_fluid(
|
18 |
ui.div(
|