EricGEGE commited on
Commit
1c64013
·
verified ·
1 Parent(s): 8d86b29

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -10,13 +10,13 @@ import requests
10
  import json
11
  import math
12
 
13
- SHEET_ID = '1sGT9DvASb-o5UrtfTI1whUziLHCZBY0ONuAIdH2ybYM' # Replace with your Google Sheet ID
14
  log = os.getenv('USER')
15
  password = os.getenv('PASSWORD')
16
  SOCIAL_SHEET = 'SocialSheet'
17
 
18
  # Service account credentials file path
19
- CREDENTIALS_FILE = 'credentials.json' # Replace with the path to your service account credentials file
20
 
21
  # Initialize Google Sheets client
22
  SCOPES = ['https://www.googleapis.com/auth/spreadsheets', 'https://www.googleapis.com/auth/drive']
@@ -114,4 +114,4 @@ iface = gr.Interface(
114
  live=False
115
  )
116
 
117
- iface.launch()
 
10
  import json
11
  import math
12
 
13
+ SHEET_ID = os.getenv('SHEETID) # Replace with your Google Sheet ID
14
  log = os.getenv('USER')
15
  password = os.getenv('PASSWORD')
16
  SOCIAL_SHEET = 'SocialSheet'
17
 
18
  # Service account credentials file path
19
+ CREDENTIALS_FILE = 'credentials.json'
20
 
21
  # Initialize Google Sheets client
22
  SCOPES = ['https://www.googleapis.com/auth/spreadsheets', 'https://www.googleapis.com/auth/drive']
 
114
  live=False
115
  )
116
 
117
+ iface.launch(auth=(log,password))