Spaces:
Runtime error
Runtime error
Commit ·
bd41e59
1
Parent(s): cad4e9f
Update app.py
Browse files
app.py
CHANGED
|
@@ -26,7 +26,7 @@ def detect(pdf):
|
|
| 26 |
if result_pred[0][j][5]==1 and result_pred[0][j][4]>0.3:
|
| 27 |
storelist.append(i+1)
|
| 28 |
if len(storelist)>0:
|
| 29 |
-
return "find signature in pdf file page:"+str(storelist)
|
| 30 |
else:
|
| 31 |
return "do not find signature in pdf file"
|
| 32 |
|
|
|
|
| 26 |
if result_pred[0][j][5]==1 and result_pred[0][j][4]>0.3:
|
| 27 |
storelist.append(i+1)
|
| 28 |
if len(storelist)>0:
|
| 29 |
+
return "find signature in pdf file page:"+str([*set(storelist)])
|
| 30 |
else:
|
| 31 |
return "do not find signature in pdf file"
|
| 32 |
|