Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -11,10 +11,12 @@ from requests import get
|
|
11 |
from shutil import rmtree
|
12 |
import streamlit as st
|
13 |
import zipfile
|
|
|
14 |
|
15 |
# unzip vegetable images
|
16 |
with zipfile.ZipFile("Vegetable Images.zip", 'r') as zip_ref:
|
17 |
zip_ref.extractall('.')
|
|
|
18 |
|
19 |
@st.cache_resource
|
20 |
class ImageVectorizer:
|
|
|
11 |
from shutil import rmtree
|
12 |
import streamlit as st
|
13 |
import zipfile
|
14 |
+
import logging
|
15 |
|
16 |
# unzip vegetable images
|
17 |
with zipfile.ZipFile("Vegetable Images.zip", 'r') as zip_ref:
|
18 |
zip_ref.extractall('.')
|
19 |
+
logging.debug('unzipped images')
|
20 |
|
21 |
@st.cache_resource
|
22 |
class ImageVectorizer:
|