Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -83,7 +83,7 @@ scope = ["https://www.googleapis.com/auth/spreadsheets", "https://www.googleapis
|
|
83 |
service_account_info = json.loads(GOOGLE_SERVICE_ACCOUNT_JSON)
|
84 |
creds = ServiceAccountCredentials.from_json_keyfile_dict(service_account_info, scope)
|
85 |
client = gspread.authorize(creds)
|
86 |
-
sheet = client.open("
|
87 |
|
88 |
# Function to save user feedback to Google Sheets
|
89 |
def save_feedback(user_input, bot_response, rating, comment):
|
|
|
83 |
service_account_info = json.loads(GOOGLE_SERVICE_ACCOUNT_JSON)
|
84 |
creds = ServiceAccountCredentials.from_json_keyfile_dict(service_account_info, scope)
|
85 |
client = gspread.authorize(creds)
|
86 |
+
sheet = client.open("users feedback").sheet1 # Replace with your Google Sheet name
|
87 |
|
88 |
# Function to save user feedback to Google Sheets
|
89 |
def save_feedback(user_input, bot_response, rating, comment):
|