made_in_heaven.py

import random import chatgpt as heavenly_chatgpt def generate_heavenly_couple(): religions = ["minority_hindu", "minority_christian", "minority_muslim", "minority_sikh", "minority_jain"] orientations = ["LGBTQ", "straight", "bisexual", "pansexual", "asexual"] classes = ["elitist", "regular_guy", "regular_girl", "working_class", "bohemian"] regions = ["North", "South", "East", "West", "Central", "Northeast", "Northwest", "Islands"] languages = ["Hindi", "Tamil", "Bengali", "Punjabi", "Marathi", "Telugu", "Kannada", "Odia", "Urdu", "Assamese"] backstories = ["drug_abuse", "sexual_abuse", "quirky_family", "hidden_identity", "career-driven", "time-travelers"] marital_status = ["divorced", "married", "single", "widowed"] open_marriage = [True, False] hobbies = ["reading", "painting", "gaming", "cooking", "getting_high", "snorting", "smoking_incessantly"] occupations = ["engineer", "teacher", "artist", "writer", "rich_from_inheritance", "explorer"] couple = { "person1": { "religion": random.choice(religions), "orientation": random.choice(orientations), "class": random.choice(classes), "region": random.choice(regions), "language": random.choice(languages), "backstory": random.choice(backstories), "marital_status": random.choice(marital_status), "open_marriage": random.choice(open_marriage), "hobbies": random.choice(hobbies), "occupation": random.choice(occupations), }, "person2": { "religion": random.choice(religions), "orientation": random.choice(orientations), "class": random.choice(classes), "region": random.choice(regions), "language": random.choice(languages), "backstory": random.choice(backstories), "marital_status": random.choice(marital_status), "open_marriage": random.choice(open_marriage), "hobbies": random.choice(hobbies), "occupation": random.choice(occupations), } } return couple def unveil_heavenly_tale(couple): heavenly_muse = heavenly_chatgpt.ChatGPT(model="gpt-3.5-turbo") heavenly_prompt = f"Craft a divine tale of love:\nPerson 1: {couple['person1']}\nPerson 2: {couple['person2']}" heavenly_tale = heavenly_muse.generate_response(heavenly_prompt, max_tokens=100) return heavenly_tale # Summon a couple of destiny and unveil their heavenly tale divine_couple = generate_heavenly_couple() heavenly_tale = unveil_heavenly_tale(divine_couple) print("Heavenly Couple:") print(divine_couple) print("\nRevealed Heavenly Tale:") print(heavenly_tale)

Be the first to comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.