Spaces:
Runtime error
Runtime error
File size: 989 Bytes
0974473 520c904 0974473 520c904 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 |
import os
from middle_earth_adventure.utils import pick_rand_items
import streamlit as st
import random
# initialize rand object (only runs on import)
st.session_state.rand = random.random()
# GPT model object
TEXT_MODEL="gpt-3.5-turbo"
AUDIO_MODEL="tts-1"
OPENAI_KEY = os.environ.get("OPENAI_PERSONAL_KEY")
# Character
ALL_SKILLS = ["Speed", "Carisma", "Intelligence", "Force", "Deceit", "Perception", "Stealth", "Creativity", "Dexterity", "Vision"]
ALL_TYPES = ["Warrior", "Wizard's Apprentice", "Mystical Feline", "Beautiful Ghost", "Naive Wood Elf", "Oktoberfest Peasant"]
ALL_NAMES = ["Kim", "Gearld", "Yoyo", "Jojee"]
# Game variability
PLAYER_FEELINGS = ["scared", "anxious", "hopeful", "intrigued", "naive"]
RIDDLE_OPTIONS = ["greek-inspired", "old-fashion", "funny", "fancy sounding", "human-centered", "animal-inspired"]
FIGHT_OPTIONS = ["funny", "epic", "magical", "gothic", "danger", "mystical", "scary"]
ROMANCE_OPTIONS = ["mystic", "dramatic", "adventurous", "loyal"]
|