eaglelandsonce commited on
Commit
325db77
·
verified ·
1 Parent(s): a02edf6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +12 -9
app.py CHANGED
@@ -16,7 +16,7 @@ import google.generativeai as genai
16
  api_key = os.environ["OPENAI_API_KEY"]
17
  from openai import OpenAI
18
 
19
- oai_client = OpenAI()
20
 
21
  import numpy as np
22
  # Assuming chromadb and TruLens are correctly installed and configured
@@ -162,6 +162,16 @@ color_codes = {
162
  # Add other types with their corresponding colors
163
  }
164
 
 
 
 
 
 
 
 
 
 
 
165
  # Function to draw the grid with optional highlighting
166
 
167
  def draw_grid(data, highlight_coords=None):
@@ -227,14 +237,7 @@ with tab1:
227
 
228
  # Displaying the text above on the right
229
  with col2:
230
- query = """
231
- On his first day at Quantum Data Institute in Green Open Data City Aya, Elian marveled at the city’s harmonious blend of technology and nature.
232
- Guided to his mentor, Dr. Maya Lior, a pioneer in urban data ecosystems, their discussion quickly centered on Aya’s innovative design.
233
- Dr. Lior explained data analytics and green technologies were intricately woven into the city's infrastructure, and how they used
234
- a Custom GPT called Green Data City to create the design.
235
-
236
- To interact with the Green Data City design tool click the button below.
237
- """
238
  st.markdown(query)
239
 
240
  # Displaying the audio player below the text
 
16
  api_key = os.environ["OPENAI_API_KEY"]
17
  from openai import OpenAI
18
 
19
+
20
 
21
  import numpy as np
22
  # Assuming chromadb and TruLens are correctly installed and configured
 
162
  # Add other types with their corresponding colors
163
  }
164
 
165
+ #text +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
166
+
167
+ query = """ On his first day at Quantum Data Institute in Green Open Data City Aya, Elian marveled at the city’s harmonious blend of technology and nature.
168
+ Guided to his mentor, Dr. Maya Lior, a pioneer in urban data ecosystems, their discussion quickly centered on Aya’s innovative design.
169
+ Dr. Lior explained data analytics and green technologies were intricately woven into the city's infrastructure, and how they used
170
+ a Custom GPT called Green Data City to create the design.
171
+
172
+ To interact with the Green Data City design tool click the button below.
173
+ """
174
+
175
  # Function to draw the grid with optional highlighting
176
 
177
  def draw_grid(data, highlight_coords=None):
 
237
 
238
  # Displaying the text above on the right
239
  with col2:
240
+
 
 
 
 
 
 
 
241
  st.markdown(query)
242
 
243
  # Displaying the audio player below the text