codevlogger2003 commited on
Commit
2b1a056
1 Parent(s): ce4e9d2

First Commit

Browse files
Files changed (1) hide show
  1. app.py +26 -0
app.py CHANGED
@@ -161,6 +161,19 @@ def main():
161
  st.error(f"An error occurred: {e}")
162
  else:
163
  st.warning('⚠️Please check your image')
 
 
 
 
 
 
 
 
 
 
 
 
 
164
  try:
165
  if os.path.exists('runs'):
166
  shutil.rmtree('runs')
@@ -254,6 +267,19 @@ def main():
254
  st.error(f"An error occurred: {e}")
255
  else:
256
  st.warning('⚠️Please check your image')
 
 
 
 
 
 
 
 
 
 
 
 
 
257
  try:
258
  if os.path.exists('runs'):
259
  shutil.rmtree('runs')
 
161
  st.error(f"An error occurred: {e}")
162
  else:
163
  st.warning('⚠️Please check your image')
164
+ st.info("📷✨ **Encountering the 'Please check your image' error?**")
165
+ st.write(
166
+ """
167
+ Our algorithm may not have been able to predict the content of your image. To improve results, consider the following:
168
+
169
+ 👉 **Verify image quality and resolution.**
170
+ 👉 **Ensure the image is clear and well-lit.**
171
+ 👉 **Check if the image meets our specified format requirements.**
172
+ 👉 **Consider alternative images for better results.**
173
+
174
+ Our aim is to provide accurate predictions, and addressing these aspects can make a significant difference. If the issue persists, please reach out to our support team. We're here to help! 🤝🔧
175
+ """
176
+ )
177
  try:
178
  if os.path.exists('runs'):
179
  shutil.rmtree('runs')
 
267
  st.error(f"An error occurred: {e}")
268
  else:
269
  st.warning('⚠️Please check your image')
270
+ st.info("📷✨ **Encountering the 'Please check your image' error?**")
271
+ st.write(
272
+ """
273
+ Our algorithm may not have been able to predict the content of your image. To improve results, consider the following:
274
+
275
+ 👉 **Verify image quality and resolution.**
276
+ 👉 **Ensure the image is clear and well-lit.**
277
+ 👉 **Check if the image meets our specified format requirements.**
278
+ 👉 **Consider alternative images for better results.**
279
+
280
+ Our aim is to provide accurate predictions, and addressing these aspects can make a significant difference. If the issue persists, please reach out to our support team. We're here to help! 🤝🔧
281
+ """
282
+ )
283
  try:
284
  if os.path.exists('runs'):
285
  shutil.rmtree('runs')