Ankush05 commited on
Commit
703b97b
·
1 Parent(s): b88db35

Update app.py

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