Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -55,104 +55,116 @@ st.set_page_config(
|
|
55 |
}
|
56 |
)
|
57 |
|
58 |
-
PromptPrefix = 'Create a markdown outline and table with appropriate emojis for
|
59 |
-
PromptPrefix2 = 'Create a streamlit python
|
60 |
-
|
61 |
-
st.markdown('''### 📖✨🔍 WordGameAI ''')
|
62 |
-
with st.expander("Help / About 📚", expanded=False):
|
63 |
-
st.markdown('''
|
64 |
-
- 🚀 **Unlock Words:** Elevate your vocabulary with AI. Turns words into thrilling experiences.
|
65 |
-
- 📚 **Features:** Creates extensive glossaries & exciting challenges.
|
66 |
-
- 🧙♂️ **Experience:** Become a word wizard, boost your language skills.
|
67 |
-
- 🔎 **Query Use:** Input `?q=Palindrome` or `?query=Anagram` in URL for new challenges.
|
68 |
-
''')
|
69 |
-
|
70 |
|
|
|
71 |
roleplaying_glossary = {
|
72 |
-
"
|
73 |
-
"
|
74 |
-
"
|
75 |
-
"
|
76 |
-
"
|
77 |
-
"
|
78 |
-
"
|
79 |
-
"
|
80 |
-
"
|
81 |
-
"
|
82 |
-
"
|
83 |
],
|
84 |
-
"
|
85 |
-
"
|
86 |
-
"
|
87 |
-
"
|
88 |
-
"
|
89 |
-
"
|
90 |
-
"
|
91 |
-
"
|
92 |
-
"
|
93 |
],
|
94 |
-
|
95 |
-
|
96 |
-
|
97 |
-
|
98 |
-
"
|
99 |
-
"
|
100 |
-
"
|
101 |
-
"
|
102 |
-
"
|
103 |
-
"
|
|
|
|
|
104 |
],
|
105 |
-
"
|
106 |
-
"
|
107 |
-
"
|
108 |
-
"
|
109 |
-
"
|
110 |
-
"
|
111 |
-
"
|
112 |
-
"
|
113 |
-
"
|
114 |
-
"Mechanics include area majority, dice rolling, cooperative play, and campaign-driven gameplay"
|
115 |
],
|
116 |
},
|
117 |
-
"
|
118 |
-
"
|
119 |
-
"
|
120 |
-
|
121 |
-
|
122 |
-
|
123 |
-
|
124 |
-
|
125 |
-
|
126 |
-
|
127 |
-
|
128 |
-
|
129 |
-
|
130 |
-
|
131 |
-
|
132 |
-
|
133 |
-
|
134 |
-
|
135 |
-
|
136 |
-
|
137 |
-
|
138 |
-
|
139 |
-
|
140 |
-
|
141 |
-
|
142 |
-
|
143 |
-
|
|
|
|
|
|
|
|
|
|
|
144 |
},
|
145 |
-
"
|
146 |
-
"
|
147 |
-
"
|
148 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
149 |
},
|
150 |
-
"
|
151 |
-
"
|
152 |
-
"
|
153 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
154 |
},
|
155 |
-
|
156 |
}
|
157 |
|
158 |
|
|
|
55 |
}
|
56 |
)
|
57 |
|
58 |
+
PromptPrefix = 'Create a markdown outline and table for a graphic novel with appropriate emojis for image slide theme names for plates and rules defining the method steps of plot lines begin to end (in ten steps or so) for topic of '
|
59 |
+
PromptPrefix2 = 'Create a streamlit python app with graphic novel features with art images and longer caption readings of mini stories, rhymes, songs and literary wit in form of graphic novels that are new and original. Show full code listing as streamlit app with procedural story telling based on functions variables and rules discussed in afformentioned method steps.. Create a UI implementing each feature using variables, reusable functions with parameters, and data driven application techniques using streamlit and/or gradio with python libraries and web components for Javascript and HTML5 including three.JS and Aframe if appropriate. Use appropriate emojis for all UI features and labels to focus on short list (1-3) lists of key parts, functions, relations, and conditions for topic: '
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
60 |
|
61 |
+
st.markdown('''### 📖✨🔍 Graphic Novel AI ''')
|
62 |
roleplaying_glossary = {
|
63 |
+
"🧙♂️ Fantasy Realms": {
|
64 |
+
"Kingdom Under Siege": ["Dark sorcery", "Dragon invasions", "Epic battles", "Quest for legendary artifacts", "Prophecies and destinies", "Betrayal and redemption"],
|
65 |
+
"Wizard's Apprentice": [
|
66 |
+
"Magical academy",
|
67 |
+
"Arcane secrets",
|
68 |
+
"Summoning mythical creatures",
|
69 |
+
"Forbidden spells",
|
70 |
+
"Rivalry among wizards",
|
71 |
+
"Journey to save the realm",
|
72 |
+
"Ancient prophecies",
|
73 |
+
"Taming ancient beasts"
|
74 |
],
|
75 |
+
"Elven Chronicles": [
|
76 |
+
"Elven civilization",
|
77 |
+
"Forest guardians",
|
78 |
+
"War against darkness",
|
79 |
+
"Alliance with dwarves",
|
80 |
+
"Legendary weapons",
|
81 |
+
"Lost realms",
|
82 |
+
"Spiritual journeys",
|
83 |
+
"Rebellion against tyranny"
|
84 |
],
|
85 |
+
},
|
86 |
+
"🦸 Superhero Adventures": {
|
87 |
+
"City of Shadows": ["Mysterious disappearances", "Supernatural occurrences", "Vigilante justice", "Secret identities", "Crime syndicates", "Morally ambiguous choices"],
|
88 |
+
"Heroic Origins": [
|
89 |
+
"Unleashing newfound powers",
|
90 |
+
"Discovering hidden lineage",
|
91 |
+
"Training with mentors",
|
92 |
+
"Encountering arch-nemeses",
|
93 |
+
"Exploring alternate dimensions",
|
94 |
+
"Team-up with other heroes",
|
95 |
+
"Navigating public perception",
|
96 |
+
"Balancing personal life with heroics"
|
97 |
],
|
98 |
+
"Infinity Nexus": [
|
99 |
+
"Cosmic threats",
|
100 |
+
"Interdimensional warfare",
|
101 |
+
"Time-bending adversaries",
|
102 |
+
"Epic space battles",
|
103 |
+
"Alliances with alien races",
|
104 |
+
"Guardians of the galaxy",
|
105 |
+
"Quests for ancient artifacts",
|
106 |
+
"Existential dilemmas"
|
|
|
107 |
],
|
108 |
},
|
109 |
+
"🚀 Sci-Fi Sagas": {
|
110 |
+
"Galactic Conquest": ["Intergalactic empires", "Robotic uprisings", "Space exploration", "AI rebellion", "Cybernetic enhancements", "Temporal paradoxes"],
|
111 |
+
"Alien Encounters": [
|
112 |
+
"First contact scenarios",
|
113 |
+
"Xenomorph invasions",
|
114 |
+
"Planetary colonization",
|
115 |
+
"Rogue AI civilizations",
|
116 |
+
"Intergalactic diplomacy",
|
117 |
+
"Space piracy",
|
118 |
+
"Mysterious anomalies",
|
119 |
+
"Existential threats"
|
120 |
+
],
|
121 |
+
"Cyberpunk Dystopia": [
|
122 |
+
"Megacorporation dominance",
|
123 |
+
"Neon-lit streets",
|
124 |
+
"Cybernetic enhancements",
|
125 |
+
"Underground resistance",
|
126 |
+
"Virtual reality addiction",
|
127 |
+
"Hackers and technomancers",
|
128 |
+
"Corporate espionage",
|
129 |
+
"Class warfare"
|
130 |
+
],
|
131 |
+
"Post-Apocalyptic Odyssey": [
|
132 |
+
"World devastated by cataclysmic event",
|
133 |
+
"Survival in harsh environments",
|
134 |
+
"Scavenging for resources",
|
135 |
+
"Encounters with mutated creatures",
|
136 |
+
"Struggle for power in a lawless society",
|
137 |
+
"Journey to find sanctuary",
|
138 |
+
"Rebuilding civilization",
|
139 |
+
"Exploration of the remnants of the old world"
|
140 |
+
],
|
141 |
},
|
142 |
+
"😂 Comedy Capers": {
|
143 |
+
"Misadventures of Mischief": ["Pranks gone wrong", "Absurd misunderstandings", "Comic relief sidekicks", "Hilarious hijinks", "Whimsical escapades", "Slapstick comedy"],
|
144 |
+
"Surreal Shenanigans": [
|
145 |
+
"Reality-bending antics",
|
146 |
+
"Fourth-wall breaks",
|
147 |
+
"Meta-humor",
|
148 |
+
"Ridiculous scenarios",
|
149 |
+
"Quirky characters",
|
150 |
+
"Parodies of pop culture",
|
151 |
+
"Satirical commentary",
|
152 |
+
"Unexpected plot twists"
|
153 |
+
],
|
154 |
},
|
155 |
+
"🎭 Dramatic Epics": {
|
156 |
+
"Tragic Heroes": ["Heart-wrenching sacrifices", "Impossible choices", "Inevitable betrayals", "Redemption arcs", "Tortured souls", "Unrequited love"],
|
157 |
+
"Family Feuds": [
|
158 |
+
"Generational conflicts",
|
159 |
+
"Secret family legacies",
|
160 |
+
"Sibling rivalries",
|
161 |
+
"Parental expectations",
|
162 |
+
"Forbidden romances",
|
163 |
+
"Legacy of past mistakes",
|
164 |
+
"Reconciliation journeys",
|
165 |
+
"Personal growth through adversity"
|
166 |
+
],
|
167 |
},
|
|
|
168 |
}
|
169 |
|
170 |
|