eaglelandsonce commited on
Commit
04d8b4b
·
verified ·
1 Parent(s): b1e04e0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +24 -26
app.py CHANGED
@@ -248,33 +248,31 @@ with tab1:
248
 
249
 
250
  st.header("Custom GPT Engineering Tools")
251
- st.link_button("Create JSON Data for a Green Data Village Population 10,000", "https://chat.openai.com/g/g-4bPJUaHS8-create-a-green-data-village")
252
 
253
- st.write("Explanation of the Custom GPT")
254
-
255
- if st.button('Show/Hide Instructions for "Create Data Village"'):
256
- # Toggle visibility
257
- st.session_state.show_instructions = not st.session_state.get('show_instructions', False)
258
-
259
- # Check if the instructions should be shown
260
- if st.session_state.get('show_instructions', False):
261
- st.write("""
262
- On clicking "Create Data Village" create a Green Data Village following the 4 Steps below. Output a JSON file similar to the Example by completing the four Steps.
263
-
264
- To generate the provided JSON code, I would instruct a custom GPT to create a detailed description of a hypothetical smart city layout, named "Green Smart Village", with a population of 10,000. This layout should include a grid size of 21x21, a list of buildings and roads, each with specific attributes:
265
-
266
- **Step 1:** General Instructions:
267
- Generate a smart city layout for "Green Smart Village" with a 21x21 grid. Include a population of 10,000.
268
-
269
- **Step 2:** Buildings:
270
- For each building, specify its coordinates on the grid, type (e.g., residential, commercial, healthcare facility), size (in terms of the grid), color, and equipped sensors (e.g., smart meters, water flow sensors).
271
- Types of buildings should vary and include a comprehensive list specified in the instructions.
272
-
273
- **Step 3:** Assign each building unique sensors based on its type, ensuring a mix of technology like smart meters, occupancy sensors, smart lighting systems, and environmental monitoring sensors.
274
-
275
- **Step 4:** Roads:
276
- Detail the roads' start and end coordinates, color, and sensors installed. Ensure roads connect significant areas of the city, providing access to all buildings. Equip roads with sensors for traffic flow, smart streetlights, and pollution monitoring. MAKE SURE ALL BUILDINGS HAVE ACCESS TO A ROAD.
277
- """)
278
 
279
  with tab2:
280
 
 
248
 
249
 
250
  st.header("Custom GPT Engineering Tools")
251
+ st.link_button("Green Data City JSON Data Creation for Population 10,000 to 50,000", "https://chat.openai.com/g/g-4bPJUaHS8-create-a-green-data-village")
252
 
253
+ if st.button('Show/Hide Instructions for "Create Green Data City"'):
254
+ # Toggle visibility
255
+ st.session_state.show_instructions = not st.session_state.get('show_instructions', False)
256
+
257
+ # Check if the instructions should be shown
258
+ if st.session_state.get('show_instructions', False):
259
+ st.write("""
260
+ On clicking "Create Data Village" create a Green Data Village following the 4 Steps below. Output a JSON file similar to the Example by completing the four Steps.
261
+
262
+ To generate the provided JSON code, I would instruct a custom GPT to create a detailed description of a hypothetical smart city layout, named "Green Smart Village", with a population of 10,000. This layout should include a grid size of 21x21, a list of buildings and roads, each with specific attributes:
263
+
264
+ **Step 1:** General Instructions:
265
+ Generate a smart city layout for "Green Smart Village" with a 21x21 grid. Include a population of 10,000.
266
+
267
+ **Step 2:** Buildings:
268
+ For each building, specify its coordinates on the grid, type (e.g., residential, commercial, healthcare facility), size (in terms of the grid), color, and equipped sensors (e.g., smart meters, water flow sensors).
269
+ Types of buildings should vary and include a comprehensive list specified in the instructions.
270
+
271
+ **Step 3:** Assign each building unique sensors based on its type, ensuring a mix of technology like smart meters, occupancy sensors, smart lighting systems, and environmental monitoring sensors.
272
+
273
+ **Step 4:** Roads:
274
+ Detail the roads' start and end coordinates, color, and sensors installed. Ensure roads connect significant areas of the city, providing access to all buildings. Equip roads with sensors for traffic flow, smart streetlights, and pollution monitoring. MAKE SURE ALL BUILDINGS HAVE ACCESS TO A ROAD.
275
+ """)
 
 
276
 
277
  with tab2:
278