anonymousatom commited on
Commit
bb77b21
·
verified ·
1 Parent(s): 09d2bf8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -66,7 +66,7 @@ if uploaded_image is not None:
66
  final_out = False
67
  # Find index of max value from list
68
  max_index = prob.index(max(prob))
69
- if max_index == 0 and (layout_result == True or shape_result == True):
70
  final_out = True
71
  # Write 'Advertisement' if the image is an advertisement
72
  if final_out == True:
 
66
  final_out = False
67
  # Find index of max value from list
68
  max_index = prob.index(max(prob))
69
+ if max_index == 0:
70
  final_out = True
71
  # Write 'Advertisement' if the image is an advertisement
72
  if final_out == True: