Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -6,7 +6,7 @@ from PIL import Image
|
|
6 |
from model import get_caption_model, generate_caption
|
7 |
|
8 |
|
9 |
-
@st.
|
10 |
def get_model():
|
11 |
return get_caption_model()
|
12 |
|
|
|
6 |
from model import get_caption_model, generate_caption
|
7 |
|
8 |
|
9 |
+
@st.cache(allow_output_mutation=True)
|
10 |
def get_model():
|
11 |
return get_caption_model()
|
12 |
|