use lower thresholds
This commit is contained in:
parent
c721e5ee31
commit
cc7af237b4
1 changed files with 2 additions and 2 deletions
4
main.py
4
main.py
|
@ -50,7 +50,7 @@ class InterrogatorPost:
|
|||
class Interrogator:
|
||||
model_id: str
|
||||
address: str
|
||||
threshold: float = 0.7
|
||||
threshold: float = 0.55
|
||||
_fucked_rating: bool = False
|
||||
|
||||
def _process(self, lst):
|
||||
|
@ -89,7 +89,7 @@ class DDInterrogator(Interrogator):
|
|||
async with ctx.session.post(
|
||||
f"{self.address}/",
|
||||
params={
|
||||
"threshold": "0.7",
|
||||
"threshold": "0.55",
|
||||
},
|
||||
headers={"Authorization": "Bearer sex"},
|
||||
data={"file": path.open("rb")},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue