From 100348f0a4964db9c69b1278f69464b315b73262 Mon Sep 17 00:00:00 2001 From: Joachim Date: Sun, 20 Apr 2025 11:41:31 +0200 Subject: [PATCH] Original --- main.py | 6 +++--- test.py | 21 --------------------- video.py | 2 +- 3 files changed, 4 insertions(+), 25 deletions(-) delete mode 100644 test.py diff --git a/main.py b/main.py index 9cd1fa8..18c86cf 100644 --- a/main.py +++ b/main.py @@ -6,7 +6,7 @@ import os SYSTEMPROMPTT = "" SYSTEMPROMPTI = "" -SDBAD = "lowres, text, error, cropped, worst quality, low quality, jpeg artifacts, ugly, duplicate, morbid, mutilated, out of frame, extra fingers, mutated hands, poorly drawn hands, poorly drawn face, mutation, deformed, blurry, dehydrated, bad anatomy, bad proportions, extra limbs, cloned face, disfigured, gross proportions, malformed limbs, missing arms, missing legs, extra arms, extra legs, fused fingers, too many fingers, long neck, username, watermark, signature" +SDBAD = "" with open("promptUtoT.txt", "r") as file: SYSTEMPROMPTT = file.readlines()[0] @@ -59,8 +59,8 @@ def main(prompt): torch.cuda.empty_cache() """ - video.create_video_from_images_and_audio(".", ".", "out.mp4") + video.create_video(".", ".", "out.mp4") return None -main("Wirte an erotic story about a teenager girl who love sex. In this world, females are object who need to have sex to live. They love it and dream of sex since their childhood. Our protagonist live in the world of pokemons. The story start in her peacefull hometown. She meet friends, live a normale life. One day, when she was in her garden watering plants, an army from the next kingdom attacked the village. The vilage was easilly defeated. Females, childs and adults alike, got rape by the soldiers and their pokemons, and she wasn't an exception, she was forced to have sex with a pokemon for five straight days [Describe thouroughly the sex scene]. And she loved it, as always. After this event, the soldiers brought all the females in underground prison, converted in a breeding farm to make new solldiers and pokemons fasters. Here, she had sex non stop with a lots of differents pokemons [Decribe a least 3 sex scene here with description like, the look of the pokemon, how the pokemon genitals penetrated her, the look of here pussy while having sex, etc, pokemon can have tentacles or mate like dogs, decribe the mating method of each of them]. During 1 year she had non stop sex, until the kingdom lose. Now she enjoy the life of national slut, and only mate with the finest pokemons and peoples, in a new kingdom, but now she have no rights and love that.") +main("") diff --git a/test.py b/test.py deleted file mode 100644 index 5bdfcdc..0000000 --- a/test.py +++ /dev/null @@ -1,21 +0,0 @@ - -import torch -from diffusers import StableDiffusionPipeline -from PIL import Image - -# Load the model from the local file -model_path = "sdxlAni.safetensors" -pipe = StableDiffusionPipeline.from_pretrained(model_path, torch_dtype=torch.float16) - -# Move the pipeline to GPU if available -if torch.cuda.is_available(): - pipe = pipe.to("cuda") - -# Generate an image -prompt = "A fantasy landscape with mountains and a river" -image = pipe(prompt).images[0] - -# Save the generated image -image.save("generated_image.png") - -print("Image generated and saved as 'generated_image.png'") diff --git a/video.py b/video.py index 43b387e..9c64d4d 100644 --- a/video.py +++ b/video.py @@ -1,7 +1,7 @@ import os from moviepy import * -def create_video_from_images_and_audio(image_folder, audio_folder, output_video): +def create_video(image_folder, audio_folder, output_video): # Get sorted lists of images and audio files images = [] audio_files = []