Update app.py
Browse files
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
|
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:
|