Ankush05 commited on
Commit
9b6cd87
·
1 Parent(s): acff45b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -4,11 +4,11 @@ import os
4
  from transformers import pipeline
5
 
6
 
7
- # uri = os.environ["MONGO_CONNECTION_STRING"]
8
- # client = MongoClient(uri, tlsCertificateKeyFile="database/cert.pem")
9
 
10
- # db = client["testing"]
11
- # col = db["something"]
12
 
13
  qna = pipeline("question-answering")
14
 
 
4
  from transformers import pipeline
5
 
6
 
7
+ uri = os.environ["MONGO_CONNECTION_STRING"]
8
+ client = MongoClient(uri, tlsCertificateKeyFile="database/cert.pem")
9
 
10
+ db = client["testing"]
11
+ col = db["something"]
12
 
13
  qna = pipeline("question-answering")
14