jcho02 commited on
Commit
90a2290
·
1 Parent(s): bcc7780

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -7
app.py CHANGED
@@ -3,6 +3,14 @@ import pandas as pd
3
  import gspread
4
  from google.auth import default
5
 
 
 
 
 
 
 
 
 
6
  def feedback_response(feedback, comments):
7
  response = ''
8
  if feedback == 'Good Response':
@@ -14,13 +22,7 @@ def feedback_response(feedback, comments):
14
  if comments:
15
  comments = comments
16
 
17
- # Authenticate and authorize with Google Sheets
18
- creds, _ = default()
19
- gc = gspread.authorize(creds)
20
-
21
- # Specify your Google Sheets credentials, sheet_id, and worksheet_name
22
- sheet_id = "YOUR_SHEET_ID"
23
- worksheet_name = "YOUR_WORKSHEET_NAME"
24
 
25
  # Open the Google Sheets document
26
  sh = gc.open_by_key(sheet_id)
 
3
  import gspread
4
  from google.auth import default
5
 
6
+ # Authenticate and authorize with Google Sheets
7
+ creds, _ = default()
8
+ gc = gspread.authorize(creds)
9
+
10
+ # Specify your Google Sheets credentials, sheet_id, and worksheet_name
11
+ sheet_id = "18hnoTsEaGMWMael42MXubb-FzAe5jJB5RpaSolIXyb0"
12
+ worksheet_name = "Sheet1"
13
+
14
  def feedback_response(feedback, comments):
15
  response = ''
16
  if feedback == 'Good Response':
 
22
  if comments:
23
  comments = comments
24
 
25
+
 
 
 
 
 
 
26
 
27
  # Open the Google Sheets document
28
  sh = gc.open_by_key(sheet_id)