Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -45,7 +45,7 @@ def load_model():
|
|
45 |
|
46 |
# model = load_model() #load model
|
47 |
|
48 |
-
if
|
49 |
image = check_file(image)
|
50 |
st.write('File: ', image)
|
51 |
input_image = Image.open(image) #read image
|
|
|
45 |
|
46 |
# model = load_model() #load model
|
47 |
|
48 |
+
if image != '':
|
49 |
image = check_file(image)
|
50 |
st.write('File: ', image)
|
51 |
input_image = Image.open(image) #read image
|