Spaces:
Sleeping
Sleeping
updated_tools.py
Browse files
tools.py
CHANGED
@@ -24,7 +24,7 @@ def customerDetailsGsheets( objective,personal_details,industry,recipientRole,re
|
|
24 |
json_string = os.getenv('credentials')
|
25 |
|
26 |
# Convert the string back to a JSON object
|
27 |
-
|
28 |
|
29 |
creds = Credentials.from_service_account_file("credentials", scopes= scopes)
|
30 |
client = gspread.authorize(creds)
|
|
|
24 |
json_string = os.getenv('credentials')
|
25 |
|
26 |
# Convert the string back to a JSON object
|
27 |
+
credentials= json.loads(json_string)
|
28 |
|
29 |
creds = Credentials.from_service_account_file("credentials", scopes= scopes)
|
30 |
client = gspread.authorize(creds)
|