Original
This commit is contained in:
parent
62815fe58c
commit
100348f0a4
3 changed files with 4 additions and 25 deletions
6
main.py
6
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("")
|
||||
|
|
21
test.py
21
test.py
|
@ -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'")
|
2
video.py
2
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 = []
|
||||
|
|
Loading…
Add table
Reference in a new issue