awacke1 commited on
Commit
82f1ca7
·
verified ·
1 Parent(s): 900a1bc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +10 -1
app.py CHANGED
@@ -16,6 +16,15 @@ st.set_page_config(
16
  'About': "# Midjourney: https://discord.com/channels/@me/997514686608191558"
17
  }
18
  )
 
 
 
 
 
 
 
 
 
19
  # -----------------------------------------------------------------Art Card Sidebar:
20
  import base64
21
  import requests
@@ -182,7 +191,7 @@ def display_buttons_with_scores():
182
  query_prefix = f"{key} **{term}:**"
183
  # -----------------------------------------------------------------
184
  # query_body = f"Create a detailed outline for **{term}** with subpoints highlighting key aspects, using emojis for visual engagement. Include step-by-step rules and boldface important entities and ruleset elements."
185
- query_body = f"Create a streamlit python app.py that implements this in functions using python libraries and short function based code with smart parameters matching language model words including appropriate emojis for functions and a CSV dataset user interface with an outline for **{term}** with subpoints highlighting key aspects, using emojis for visual engagement. Include methodical step-by-step rules in code and always boldface important entities (using markdown outlines and tables for enumerated smart terms) and ruleset elements."
186
  response = search_glossary(query_prefix + query_body)
187
 
188
  def fetch_wikipedia_summary(keyword):
 
16
  'About': "# Midjourney: https://discord.com/channels/@me/997514686608191558"
17
  }
18
  )
19
+
20
+ # AI Query Begin!
21
+ AIQuery = f"Create a streamlit python app which implements this in python functions and appropriate libraries using function based code with annotated parameters and language parts of speech and key words. Include appropriate emojis for user interface labels with buttons, sidebar, dataframe, expander, and other ui controls. Use a CSV dataset user interface with an outline for **{term}** with subpoints highlighting key aspects, using emojis for visual engagement. Include methodical well ordered rules in code and boldface important entities (for data display use markdown outlines and tables with appropriate emojis for enumerated smart terms) and ruleset elements."
22
+ # AI Query Complete! ---------------------------------------------------------------------------------------------------------------------------------------------------
23
+
24
+
25
+
26
+
27
+
28
  # -----------------------------------------------------------------Art Card Sidebar:
29
  import base64
30
  import requests
 
191
  query_prefix = f"{key} **{term}:**"
192
  # -----------------------------------------------------------------
193
  # query_body = f"Create a detailed outline for **{term}** with subpoints highlighting key aspects, using emojis for visual engagement. Include step-by-step rules and boldface important entities and ruleset elements."
194
+ query_body = AIQuery
195
  response = search_glossary(query_prefix + query_body)
196
 
197
  def fetch_wikipedia_summary(keyword):