use lower thresholds

This commit is contained in:
Luna 2025-04-12 00:55:25 -03:00
parent c721e5ee31
commit cc7af237b4

View file

@ -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")},