cassiebuhler commited on
Commit
5b58f95
Β·
1 Parent(s): ca3a50a

adding examples to interface

Browse files
Files changed (2) hide show
  1. app/app.py +3 -0
  2. app/variables.py +0 -1
app/app.py CHANGED
@@ -7,6 +7,7 @@ import ibis.selectors as s
7
  from ibis import _
8
  import ibis
9
  import openai
 
10
 
11
  st.set_page_config(layout="wide",
12
  page_title="TPL Conservation Almanac",
@@ -82,6 +83,8 @@ with chatbot_container:
82
 
83
  '''
84
  Exploratory data queries:
 
 
85
  - Which states have the highest average cost per acre?
86
  '''
87
 
 
7
  from ibis import _
8
  import ibis
9
  import openai
10
+ import pandas as pd
11
 
12
  st.set_page_config(layout="wide",
13
  page_title="TPL Conservation Almanac",
 
83
 
84
  '''
85
  Exploratory data queries:
86
+ - Which state senate districts have the highest percentage of protected areas?
87
+ - Which house legislative districts have the highest conservation investments?
88
  - Which states have the highest average cost per acre?
89
  '''
90
 
app/variables.py CHANGED
@@ -166,7 +166,6 @@ basemaps = ['CartoDB.DarkMatter', 'CartoDB.DarkMatterNoLabels',
166
  help_message = '''
167
  - ❌ Safari/iOS not fully supported. For Safari/iOS users, change the **Leafmap module** from MapLibre to Folium in **(Map Settings)** below.
168
  - πŸ“Š Use this sidebar to color-code the map by different attributes **(Group by)**
169
- - πŸ’¬ For a more tailored experience, query our dataset of protected areas and their precomputed metrics for each of the displayed layers, using the experimental chatbot. The language model tries to answer natural language questions by drawing only from curated datasets (listed below).
170
  '''
171
 
172
  #maplibregl tooltip
 
166
  help_message = '''
167
  - ❌ Safari/iOS not fully supported. For Safari/iOS users, change the **Leafmap module** from MapLibre to Folium in **(Map Settings)** below.
168
  - πŸ“Š Use this sidebar to color-code the map by different attributes **(Group by)**
 
169
  '''
170
 
171
  #maplibregl tooltip