import torch from transformers import pipeline, set_seed import re set_seed(42) model = pipeline("text-generation", model="gpt2") def generate_script(conflict): karakter = generate_character(conflict) print(characters) plot = generate_plot(conflict, karakter) print(plot) dialog = generate_dialogue(conflict, karakter, karakter, plot plot) printdialogue) return characters, plot, plot, dialog generate_characters_conflict: characters = model model model model model model model model model model model model model model model model model model model model model model model model model model model model model model model model model model model model model model model model model model model model model model model model model model model model model model model model model model model model model model
spam fails_task lang_mismatch pii not_appropriate hate_speech sexual_content quality toxicity humor helpfulness creativity violence