Skip to content
Snippets Groups Projects
Commit d2202c43 authored by Jan Eggers's avatar Jan Eggers
Browse files

Library-Build gefixt

parent 5b1244a4
No related branches found
No related tags found
No related merge requests found
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
requires = ["setuptools", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "aichecker"
......@@ -25,6 +25,10 @@ license = {file = "LICENSE"}
dev = [
"pytest",
]
[tool.pytest.ini_options]
minversion = "6.0"
addopts = "--strict-markers"
testpaths = ["tests"]
[tool.hatch.build.targets.wheel]
packages = ["src"]
\ No newline at end of file
packages = ["src/aichecker"]
\ No newline at end of file
from .check_bsky import *
from .bildbeschreibung import ai_description
from .detectora import query_detectora
from .imagecheck import query_aiornot
\ No newline at end of file
File moved
File moved
# detectora.py Library - CC-BY github.com/JanEggers-hr
"""
Spinoff einer Masterarbeit von Tom Tlok. Letzten Endes ein feingetuntes und gegen
Angriffe gehärtetes BERT, das vor allem auf die sehr KI-typischen Eigenheiten in
Satzbau und Wortwahl zu achten scheint. Trainiert auf die gängigen Modelle.
Mehr hier: https://ki.fh-wedel.de/files/TomTlok_MA.pdf
Eine Python-Bibliothek, um mit detectora.de auf KI-generierten Text zu prüfen.
PARAMETER: text
......
File moved
from aichecker import query_aiornot
# Teilweise KI-generiertes Bild
my_img = "https://www.janeggers.tech/eeblog/wp-content/uploads/2024/03/robotmonkey-midjourney.png"
print(query_aiornot(my_img))
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment