srinidhidevaraj commited on
Commit
d378475
1 Parent(s): 35046bb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -27,7 +27,7 @@ import time
27
  load_dotenv()
28
 
29
  ASTRA_DB_SECURE_BUNDLE_PATH ='secure-connect-pdf-query-db.zip'
30
- groq_api_key=os.getenv('groq_api_key')
31
  os.environ["LANGCHAIN_TRACING_V2"]="true"
32
  LANGCHAIN_API_KEY=os.getenv("LANGCHAIN_API_KEY")
33
  LANGCHAIN_PROJECT=os.getenv("LANGCHAIN_PROJECT")
@@ -39,6 +39,7 @@ ASTRA_DB_API_ENDPOINT=os.getenv("ASTRA_DB_API_ENDPOINT")
39
  ASTRA_DB_CLIENT_ID=os.getenv("ASTRA_DB_CLIENT_ID")
40
  ASTRA_DB_CLIENT_SECRET=os.getenv("ASTRA_DB_CLIENT_SECRET")
41
  ASTRA_DB_TABLE=os.getenv("ASTRA_DB_TABLE")
 
42
 
43
  cassio.init(token=ASTRA_DB_APPLICATION_TOKEN,database_id=ASTRA_DB_ID,secure_connect_bundle=ASTRA_DB_SECURE_BUNDLE_PATH)
44
 
 
27
  load_dotenv()
28
 
29
  ASTRA_DB_SECURE_BUNDLE_PATH ='secure-connect-pdf-query-db.zip'
30
+
31
  os.environ["LANGCHAIN_TRACING_V2"]="true"
32
  LANGCHAIN_API_KEY=os.getenv("LANGCHAIN_API_KEY")
33
  LANGCHAIN_PROJECT=os.getenv("LANGCHAIN_PROJECT")
 
39
  ASTRA_DB_CLIENT_ID=os.getenv("ASTRA_DB_CLIENT_ID")
40
  ASTRA_DB_CLIENT_SECRET=os.getenv("ASTRA_DB_CLIENT_SECRET")
41
  ASTRA_DB_TABLE=os.getenv("ASTRA_DB_TABLE")
42
+ groq_api_key=os.getenv('groq_api_key')
43
 
44
  cassio.init(token=ASTRA_DB_APPLICATION_TOKEN,database_id=ASTRA_DB_ID,secure_connect_bundle=ASTRA_DB_SECURE_BUNDLE_PATH)
45