Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -5,9 +5,10 @@ import gradio as gr
|
|
5 |
from datetime import datetime
|
6 |
import gspread
|
7 |
from google.oauth2.service_account import Credentials
|
|
|
8 |
|
9 |
# Google Sheets settings
|
10 |
-
SHEET_ID = '
|
11 |
USERS_SHEET = 'Users'
|
12 |
PURCHASE_ORDERS_SHEET = 'PurchaseOrders'
|
13 |
|
|
|
5 |
from datetime import datetime
|
6 |
import gspread
|
7 |
from google.oauth2.service_account import Credentials
|
8 |
+
import os
|
9 |
|
10 |
# Google Sheets settings
|
11 |
+
SHEET_ID = os.getenv('SHEET_ID') # Replace with your Google Sheet ID
|
12 |
USERS_SHEET = 'Users'
|
13 |
PURCHASE_ORDERS_SHEET = 'PurchaseOrders'
|
14 |
|