Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -150,9 +150,9 @@ def tott(model_name,url_input,image_input,threshold,type2):
|
|
150 |
xxresult=1
|
151 |
|
152 |
if xxresult==0:
|
153 |
-
return "
|
154 |
else:
|
155 |
-
return "
|
156 |
|
157 |
|
158 |
def set_example_image(example: list) -> dict:
|
|
|
150 |
xxresult=1
|
151 |
|
152 |
if xxresult==0:
|
153 |
+
return "The photo is ACCEPTED"
|
154 |
else:
|
155 |
+
return "The photo is NOT ACCEPTED"
|
156 |
|
157 |
|
158 |
def set_example_image(example: list) -> dict:
|