Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
87owo authored Mar 2, 2024
1 parent e119e34 commit 61400ff
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions PYAS.py
Original file line number Diff line number Diff line change
Expand Up @@ -882,10 +882,9 @@ def pe_scan(self, file):
except:
pass
m1, m0 = self.pe.predict(fn)
#print(m1 - m0, file)
if self.json["high_sensitive"]:
return m1 >= m0
return m1 - m0 > 0.03
return m1 == 1.0 and m1 > m0
except:
return False

Expand Down
2 changes: 1 addition & 1 deletion PYAS_Model.json

Large diffs are not rendered by default.

0 comments on commit 61400ff

Please sign in to comment.