williamagyapong commited on
Commit
0106da9
·
verified ·
1 Parent(s): 8d35414

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +2 -2
main.py CHANGED
@@ -6,7 +6,7 @@ from heyoo import WhatsApp
6
  import assemblyai as aai
7
  import openai
8
  from utility import parse_multiple_transactions
9
-
10
 
11
 
12
  # load env data
@@ -26,7 +26,7 @@ messenger = WhatsApp(
26
 
27
 
28
  # Authenticate to Firesotre with the JSON account key
29
- # db = firestore.Client.from_service_account_json("firestore-key.json")
30
 
31
 
32
  app = Flask(__name__)
 
6
  import assemblyai as aai
7
  import openai
8
  from utility import parse_multiple_transactions
9
+ from google.cloud import firestore
10
 
11
 
12
  # load env data
 
26
 
27
 
28
  # Authenticate to Firesotre with the JSON account key
29
+ db = firestore.Client.from_service_account_json("firestore-key.json")
30
 
31
 
32
  app = Flask(__name__)