Spaces:
Running
Running
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.cache_resource(
|
10 |
def get_model():
|
11 |
return get_caption_model()
|
12 |
|
|
|
6 |
from model import get_caption_model, generate_caption
|
7 |
|
8 |
|
9 |
+
@st.cache_resource()
|
10 |
def get_model():
|
11 |
return get_caption_model()
|
12 |
|