awacke1 commited on
Commit
e63c937
Β·
verified Β·
1 Parent(s): df0ed93

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -8
app.py CHANGED
@@ -6,7 +6,7 @@ from urllib.parse import quote # Ensure this import is included
6
 
7
  # Set page configuration with a title and favicon
8
  st.set_page_config(
9
- page_title="πŸš€πŸ‘½πŸŒŒMixable Science Fiction AI ",
10
  page_icon="πŸš€",
11
  layout="wide",
12
  initial_sidebar_state="expanded",
@@ -20,6 +20,13 @@ st.set_page_config(
20
  PromptPrefix = 'Create a markdown outline and table with appropriate emojis for science fiction stories, plotlines, and background on aliens, robots and spaceships for the topics of '
21
 
22
 
 
 
 
 
 
 
 
23
  # -----------------------------------------------------------------Art Card Sidebar:
24
  import base64
25
  import requests
@@ -236,7 +243,7 @@ def create_search_url_ai(keyword):
236
  return base_url + keyword.replace(' ', '+')
237
 
238
  def display_images_and_wikipedia_summaries():
239
- st.title('Gallery with Related Stories')
240
  image_files = [f for f in os.listdir('.') if f.endswith('.png')]
241
  if not image_files:
242
  st.write("No PNG images found in the current directory.")
@@ -1232,12 +1239,6 @@ def main():
1232
  # Display instructions and handle query parameters
1233
  #st.markdown("## Glossary Lookup\nEnter a term in the URL query, like `?q=Nanotechnology` or `?query=Martian Syndicate`.")
1234
 
1235
- st.markdown('''
1236
- ### Mixable Science Fiction AI πŸš€πŸ‘½πŸŒŒ
1237
- - **Explore New Worlds with Mixable Science Fiction AI:** Journey through the cosmos with an AI that writes the future.
1238
- - **Capabilities:** Generates extensive glossaries, innovative rule sets, and AI jump links.
1239
- - **Experience:** Turns your imagination into reality, exploring new frontiers of science fiction.
1240
- - **Query Parameter Usage:** Enter a sci-fi term in the URL query, like `?q=Nanotechnology` or `?query=MartianSyndicate`, to unlock the mysteries of the universe. ''')
1241
  try:
1242
  query_params = st.query_params
1243
  #query = (query_params.get('q') or query_params.get('query') or [''])[0]
 
6
 
7
  # Set page configuration with a title and favicon
8
  st.set_page_config(
9
+ page_title="πŸš€πŸ‘½πŸŒŒSciFiAI",
10
  page_icon="πŸš€",
11
  layout="wide",
12
  initial_sidebar_state="expanded",
 
20
  PromptPrefix = 'Create a markdown outline and table with appropriate emojis for science fiction stories, plotlines, and background on aliens, robots and spaceships for the topics of '
21
 
22
 
23
+ st.markdown('''### SciFiAI πŸš€πŸ‘½πŸŒŒ
24
+ - **Explore New Worlds with Mixable Science Fiction AI:** Journey through the cosmos with an AI that writes the future.
25
+ - **Capabilities:** Generates extensive glossaries, innovative rule sets, and AI jump links.
26
+ - **Experience:** Turns your imagination into reality, exploring new frontiers of science fiction.
27
+ - **Query Parameter Usage:** Enter a sci-fi term in the URL query, like `?q=Nanotechnology` or `?query=MartianSyndicate`, to unlock the mysteries of the universe. ''')
28
+
29
+
30
  # -----------------------------------------------------------------Art Card Sidebar:
31
  import base64
32
  import requests
 
243
  return base_url + keyword.replace(' ', '+')
244
 
245
  def display_images_and_wikipedia_summaries():
246
+ st.markdown('''### SciFiAI πŸš€πŸ‘½πŸŒŒ Gallery''')
247
  image_files = [f for f in os.listdir('.') if f.endswith('.png')]
248
  if not image_files:
249
  st.write("No PNG images found in the current directory.")
 
1239
  # Display instructions and handle query parameters
1240
  #st.markdown("## Glossary Lookup\nEnter a term in the URL query, like `?q=Nanotechnology` or `?query=Martian Syndicate`.")
1241
 
 
 
 
 
 
 
1242
  try:
1243
  query_params = st.query_params
1244
  #query = (query_params.get('q') or query_params.get('query') or [''])[0]