Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -6,7 +6,9 @@ import time
|
|
| 6 |
|
| 7 |
@st.cache(allow_output_mutation=True)
|
| 8 |
def load_model():
|
| 9 |
-
"""
|
|
|
|
|
|
|
| 10 |
model = pipeline('image-to-text')
|
| 11 |
return model
|
| 12 |
|
|
|
|
| 6 |
|
| 7 |
@st.cache(allow_output_mutation=True)
|
| 8 |
def load_model():
|
| 9 |
+
"""
|
| 10 |
+
Retrieves the trained model
|
| 11 |
+
"""
|
| 12 |
model = pipeline('image-to-text')
|
| 13 |
return model
|
| 14 |
|