FosterSystemsDatabase commited on
Commit
c344afc
·
verified ·
1 Parent(s): 4f64e0a

Updates to .json and Google Sheets

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -150,7 +150,7 @@ import gspread
150
  import pandas as pd
151
 
152
  # Load the service account JSON
153
- json_file_path = "fostercare-449201-75a303a8c238(unused).json" # Load the credentials for the service account
154
  with open(json_file_path, 'r') as file:
155
  service_account_data = json.load(file)
156
 
@@ -160,10 +160,10 @@ creds = Credentials.from_service_account_info(service_account_data, scopes=scope
160
  client = gspread.authorize(creds)
161
 
162
  # Open the shared Google Sheet by name
163
- spreadsheet = client.open("Foster Care RA Responses").sheet1
164
 
165
  # Link to Google Sheet
166
- # https://docs.google.com/spreadsheets/d/1cUwgYxLaCGnXnSjS2LJN7Fr0xnJ8_zlGRI6RpCFVvMQ/edit?usp=sharing
167
 
168
  # Code to set up Gradio GUI
169
  import gradio as gr
 
150
  import pandas as pd
151
 
152
  # Load the service account JSON
153
+ json_file_path = "fostercare-449201-85282f81c3b7.json" # Load the credentials for the service account
154
  with open(json_file_path, 'r') as file:
155
  service_account_data = json.load(file)
156
 
 
160
  client = gspread.authorize(creds)
161
 
162
  # Open the shared Google Sheet by name
163
+ spreadsheet = client.open("Fostercare Responses").sheet1
164
 
165
  # Link to Google Sheet
166
+ # https://docs.google.com/spreadsheets/d/1cUwgYxLaCGnXnSjS2LJN7Fr0xnJ8_zlGRI6RpCFVvMQ/
167
 
168
  # Code to set up Gradio GUI
169
  import gradio as gr