nouamanetazi HF staff commited on
Commit
6efa259
1 Parent(s): d94febe
Files changed (3) hide show
  1. .gitignore +2 -0
  2. .streamlit/config.toml +1 -1
  3. src/dataframes.py +3 -7
.gitignore CHANGED
@@ -21,3 +21,5 @@ var/
21
 
22
  # vscode
23
  .vscode
 
 
 
21
 
22
  # vscode
23
  .vscode
24
+
25
+ secrets.toml
.streamlit/config.toml CHANGED
@@ -25,7 +25,7 @@ gatherUsageStats = false
25
  # - Open the browser
26
 
27
  # Default: whatever value is set in server.port.
28
- serverPort = 8502
29
 
30
  # .streamlit/config.toml
31
  [ui]
 
25
  # - Open the browser
26
 
27
  # Default: whatever value is set in server.port.
28
+ serverPort = 8501
29
 
30
  # .streamlit/config.toml
31
  [ui]
src/dataframes.py CHANGED
@@ -3,13 +3,9 @@ import streamlit as st
3
  from src.utils import add_latlng_col, parse_gg_sheet, parse_json_file, is_request_in_list
4
  import pandas as pd
5
 
6
- VERIFIED_REQUESTS_URL = (
7
- "https://docs.google.com/spreadsheets/d/1PXcAtI5L95hHSXAiRl3Y4v5O4coG39S86OTfBEcvLTE/edit#gid=0"
8
- )
9
- REQUESTS_URL = "https://docs.google.com/spreadsheets/d/1gYoBBiBo1L18IVakHkf3t1fOGvHWb23loadyFZUeHJs/edit#gid=966953708"
10
- INTERVENTIONS_URL = (
11
- "https://docs.google.com/spreadsheets/d/1eXOTqunOWWP8FRdENPs4cU9ulISm4XZWYJJNR1-SrwY/edit#gid=2089222765"
12
- )
13
  DOUARS_URL = "data/regions.json"
14
 
15
  def load_data(show_unverified, selected_options, options):
 
3
  from src.utils import add_latlng_col, parse_gg_sheet, parse_json_file, is_request_in_list
4
  import pandas as pd
5
 
6
+ VERIFIED_REQUESTS_URL = st.secrets["VERIFIED_REQUESTS_URL"]
7
+ REQUESTS_URL = st.secrets["REQUESTS_URL"]
8
+ INTERVENTIONS_URL = st.secrets["INTERVENTIONS_URL"]
 
 
 
 
9
  DOUARS_URL = "data/regions.json"
10
 
11
  def load_data(show_unverified, selected_options, options):