Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
import streamlit as
|
2 |
import os
|
3 |
import json
|
4 |
from PIL import Image
|
@@ -17,6 +17,13 @@ st.set_page_config(
|
|
17 |
}
|
18 |
)
|
19 |
PromptPrefix = 'Create a markdown outline and table with appropriate emojis for roleplay rulesets which define the method steps of play for the topics of '
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
20 |
# -----------------------------------------------------------------Art Card Sidebar:
|
21 |
import base64
|
22 |
import requests
|
@@ -1284,9 +1291,6 @@ def main():
|
|
1284 |
filename = generate_filename(raw, 'txt')
|
1285 |
create_file(filename, raw, '', should_save)
|
1286 |
|
1287 |
-
# Relocated! Hope you like your new space - enjoy!
|
1288 |
-
st.markdown("## 🗺️🛠️ RolePlayAI")
|
1289 |
-
st.markdown("Enter a term in the URL query, like `?q=Cyberpunk` or `?query=Dungeons and Dragons`.")
|
1290 |
try:
|
1291 |
query_params = st.query_params
|
1292 |
query = (query_params.get('q') or query_params.get('query') or [''])
|
|
|
1 |
+
import streamlit as s
|
2 |
import os
|
3 |
import json
|
4 |
from PIL import Image
|
|
|
17 |
}
|
18 |
)
|
19 |
PromptPrefix = 'Create a markdown outline and table with appropriate emojis for roleplay rulesets which define the method steps of play for the topics of '
|
20 |
+
|
21 |
+
st.markdown("""### 🗺️🛠️ RolePlayAI
|
22 |
+
- **Embark on an Adventure with RolePlayAI's Game Insights:** Elevate your prowess with an AI companion dedicated to making vocabulary engaging.
|
23 |
+
- **What It Offers:** Craft intricate word lists and embark on captivating vocabulary quests.
|
24 |
+
- **Your Journey:** Step into the role of a linguistic mage, mastering the art of language.
|
25 |
+
- **How to Play:** Initiate your quest by appending a word challenge to the URL, like `?q=Cyberpunk` or `?query=Dungeons and Dragons`.""")
|
26 |
+
|
27 |
# -----------------------------------------------------------------Art Card Sidebar:
|
28 |
import base64
|
29 |
import requests
|
|
|
1291 |
filename = generate_filename(raw, 'txt')
|
1292 |
create_file(filename, raw, '', should_save)
|
1293 |
|
|
|
|
|
|
|
1294 |
try:
|
1295 |
query_params = st.query_params
|
1296 |
query = (query_params.get('q') or query_params.get('query') or [''])
|