neko941 commited on
Commit
10878a4
1 Parent(s): 4c53d43

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -45,7 +45,7 @@ def load_model():
45
 
46
  # model = load_model() #load model
47
 
48
- if title is not None:
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