Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -16,8 +16,17 @@ st.set_page_config(
|
|
16 |
'About': "# Midjourney: https://discord.com/channels/@me/997514686608191558"
|
17 |
}
|
18 |
)
|
|
|
19 |
PromptPrefix = 'Create a markdown outline and table with appropriate emojis for word game rules which define the method steps of play for topic of '
|
20 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
21 |
# -----------------------------------------------------------------Art Card Sidebar:
|
22 |
import base64
|
23 |
import requests
|
@@ -1273,15 +1282,6 @@ def main():
|
|
1273 |
# Relocated! Hope you like your new space - enjoy!
|
1274 |
# Display instructions and handle query parameters
|
1275 |
#st.markdown("## Glossary Lookup\nEnter a term in the URL query, like `?q=Nanotechnology` or `?query=Martian Syndicate`.")
|
1276 |
-
|
1277 |
-
st.markdown('''
|
1278 |
-
### Mixable Word Game AI ๐โจ๐
|
1279 |
-
- **Unlock the Power of Words with Mixable Word Game AI:** Transform your vocabulary with an AI that brings words to life.
|
1280 |
-
- **Capabilities:** Generates comprehensive glossaries and thrilling challenges.
|
1281 |
-
- **Experience:** Your key to becoming a word wizard, enhancing your language skills.
|
1282 |
-
- **Query Parameter Usage:** Enter a vocabulary term in the URL query, like `?q=Palindrome` or `?query=Anagram`, to explore new word game challenges.
|
1283 |
-
|
1284 |
-
''')
|
1285 |
|
1286 |
try:
|
1287 |
query_params = st.query_params
|
@@ -1293,15 +1293,12 @@ def main():
|
|
1293 |
st.markdown('No glossary lookup')
|
1294 |
|
1295 |
# Display the glossary grid
|
1296 |
-
st.
|
1297 |
display_images_and_wikipedia_summaries()
|
1298 |
display_glossary_grid(roleplaying_glossary)
|
1299 |
-
st.
|
1300 |
-
st.markdown("## Explore the vast universes of Dungeons and Dragons, Call of Cthulhu, GURPS, and more through interactive storytelling and encyclopedic knowledge.๐ ")
|
1301 |
-
|
1302 |
display_buttons_with_scores()
|
1303 |
|
1304 |
-
|
1305 |
# Assuming the transhuman_glossary and other setup code remains the same
|
1306 |
#st.write("Current Query Parameters:", st.query_params)
|
1307 |
#st.markdown("### Query Parameters - These Deep Link Map to Remixable Methods, Navigate or Trigger Functionalities")
|
|
|
16 |
'About': "# Midjourney: https://discord.com/channels/@me/997514686608191558"
|
17 |
}
|
18 |
)
|
19 |
+
|
20 |
PromptPrefix = 'Create a markdown outline and table with appropriate emojis for word game rules which define the method steps of play for topic of '
|
21 |
|
22 |
+
st.markdown('''### Mixable Word Game AI ๐โจ๐
|
23 |
+
- **Unlock the Power of Words with Mixable Word Game AI:** Transform your vocabulary with an AI that brings words to life.
|
24 |
+
- **Capabilities:** Generates comprehensive glossaries and thrilling challenges.
|
25 |
+
- **Experience:** Your key to becoming a word wizard, enhancing your language skills.
|
26 |
+
- **Query Parameter Usage:** Enter a vocabulary term in the URL query, like `?q=Palindrome` or `?query=Anagram`, to explore new word game challenges.''')
|
27 |
+
|
28 |
+
|
29 |
+
|
30 |
# -----------------------------------------------------------------Art Card Sidebar:
|
31 |
import base64
|
32 |
import requests
|
|
|
1282 |
# Relocated! Hope you like your new space - enjoy!
|
1283 |
# Display instructions and handle query parameters
|
1284 |
#st.markdown("## Glossary Lookup\nEnter a term in the URL query, like `?q=Nanotechnology` or `?query=Martian Syndicate`.")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1285 |
|
1286 |
try:
|
1287 |
query_params = st.query_params
|
|
|
1293 |
st.markdown('No glossary lookup')
|
1294 |
|
1295 |
# Display the glossary grid
|
1296 |
+
st.markdown("### ๐ฒ๐บ๏ธ Word Game Gallery")
|
1297 |
display_images_and_wikipedia_summaries()
|
1298 |
display_glossary_grid(roleplaying_glossary)
|
1299 |
+
st.markdown("## Explore the vast universe of word games including board games with fascinating readable content and semantic rules where language is fun!.๐ ")
|
|
|
|
|
1300 |
display_buttons_with_scores()
|
1301 |
|
|
|
1302 |
# Assuming the transhuman_glossary and other setup code remains the same
|
1303 |
#st.write("Current Query Parameters:", st.query_params)
|
1304 |
#st.markdown("### Query Parameters - These Deep Link Map to Remixable Methods, Navigate or Trigger Functionalities")
|