Spaces:
Runtime error
Runtime error
geekyrakshit
commited on
Commit
•
ea5fe83
1
Parent(s):
c17bdc9
updated app
Browse files
app.py
CHANGED
@@ -5,7 +5,7 @@ from tensorflow.keras import utils
|
|
5 |
from enhance_me.mirnet import MIRNet
|
6 |
|
7 |
|
8 |
-
@st.cache
|
9 |
def get_mirnet_object() -> MIRNet:
|
10 |
mirnet = MIRNet()
|
11 |
mirnet.build_model()
|
|
|
5 |
from enhance_me.mirnet import MIRNet
|
6 |
|
7 |
|
8 |
+
@st.cache(allow_output_mutation=True)
|
9 |
def get_mirnet_object() -> MIRNet:
|
10 |
mirnet = MIRNet()
|
11 |
mirnet.build_model()
|