jjz5463 commited on
Commit
1bef274
1 Parent(s): dceac9e

record result update

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -8,9 +8,10 @@ import os
8
  import re
9
  import firebase_admin
10
  from firebase_admin import credentials, firestore
 
11
  os.environ["TOKENIZERS_PARALLELISM"] = "false"
12
 
13
- cred = credentials.Certificate(os.getenv("Firebase_JSON"))
14
  firebase_admin.initialize_app(cred)
15
  db = firestore.client()
16
 
 
8
  import re
9
  import firebase_admin
10
  from firebase_admin import credentials, firestore
11
+ import json
12
  os.environ["TOKENIZERS_PARALLELISM"] = "false"
13
 
14
+ cred = credentials.Certificate(json.loads(os.getenv("Firebase_JSON")))
15
  firebase_admin.initialize_app(cred)
16
  db = firestore.client()
17