Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -33,7 +33,7 @@ def init_conn():
|
|
| 33 |
"client_x509_cert_url": "https://www.googleapis.com/robot/v1/metadata/x509/gspread-connection%40model-sheets-connect.iam.gserviceaccount.com"
|
| 34 |
}
|
| 35 |
|
| 36 |
-
client = pymongo.MongoClient(
|
| 37 |
db = client["testing_db"]
|
| 38 |
|
| 39 |
gc_con = gspread.service_account_from_dict(credentials, scope)
|
|
|
|
| 33 |
"client_x509_cert_url": "https://www.googleapis.com/robot/v1/metadata/x509/gspread-connection%40model-sheets-connect.iam.gserviceaccount.com"
|
| 34 |
}
|
| 35 |
|
| 36 |
+
client = pymongo.MongoClient(st.secrets["huggin_face_admin"])
|
| 37 |
db = client["testing_db"]
|
| 38 |
|
| 39 |
gc_con = gspread.service_account_from_dict(credentials, scope)
|