Surendradjh commited on
Commit
067c9be
·
verified ·
1 Parent(s): 4425654

Update app (1).py

Browse files
Files changed (1) hide show
  1. app (1).py +1 -1
app (1).py CHANGED
@@ -43,7 +43,7 @@ if uploaded_file is not None:
43
  image_ = Image.open(uploaded_file).convert('RGB')
44
  else:
45
  st.info("No image uploaded. Using default image.")
46
- default_path = "image_default.jpg" # Make sure this file exists in your project folder
47
  if os.path.exists(default_path):
48
  image_ = Image.open(default_path).convert('RGB')
49
  else:
 
43
  image_ = Image.open(uploaded_file).convert('RGB')
44
  else:
45
  st.info("No image uploaded. Using default image.")
46
+ default_path = "dog.jpg" # Make sure this file exists in your project folder
47
  if os.path.exists(default_path):
48
  image_ = Image.open(default_path).convert('RGB')
49
  else: