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

V0.1.5.1 mit Parameter zum AIORNOT-Abschalten

parent 2803e4e9
No related branches found
No related tags found
No related merge requests found
......@@ -10,7 +10,7 @@ authors = [
maintainers = [
{name = "Jan Eggers", email = "jan.eggers@hr.de"},
]
version = "0.1.5" # Neue Versionsnummern für pip-Update
version = "0.1.5.1" # Neue Versionsnummern für pip-Update
description = "Bluesky-Konten auf KI-Inhalte checken"
requires-python = ">=3.8"
dependencies = [
......
......@@ -181,10 +181,12 @@ def check_handle(handle:str, limit:int = 20, cursor = None, check_images = True)
print("Checke Texte:")
df['detectora_ai_score'] = df['text'].apply(detectora_wrapper)
# Now add "ai" or "human" assessment for images
# Now add "ai" or "human" assessment for images
if check_images:
print("\nChecke Bilder:")
df['aiornot_ai_score'] = df.apply(lambda row: aiornot_wrapper(row['author_did'], row['embed']), axis=1)
else:
df['aiornot_ai_score'] = None
print()
return df
......
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