omarhkh commited on
Commit
d23c7fe
1 Parent(s): ab38b1e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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 """<h1 id="title">The photo is ACCEPTED</h1>"""
154
  else:
155
- return """<h1 id="title">The photo is NOT ACCEPTED</h1>"""
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: