Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -12,7 +12,7 @@ openai.api_key = "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"
|
|
| 12 |
records = []
|
| 13 |
credentials = Credentials.from_service_account_file("credentials.json", scopes=["https://www.googleapis.com/auth/spreadsheets"])
|
| 14 |
client = gspread.authorize(credentials)
|
| 15 |
-
sheet = client.open_by_url("https://docs.google.com/spreadsheets/d/
|
| 16 |
|
| 17 |
def get_user_ip():
|
| 18 |
try:
|
|
|
|
| 12 |
records = []
|
| 13 |
credentials = Credentials.from_service_account_file("credentials.json", scopes=["https://www.googleapis.com/auth/spreadsheets"])
|
| 14 |
client = gspread.authorize(credentials)
|
| 15 |
+
sheet = client.open_by_url("https://docs.google.com/spreadsheets/d/1aZibKvwrvOB-xx_PSp2YFyuaycHyVkJZW_unC21VUbA/edit?usp=sharing").sheet1
|
| 16 |
|
| 17 |
def get_user_ip():
|
| 18 |
try:
|