Spaces:
Build error
Build error
HuyDN
commited on
Commit
•
ff0d4cd
1
Parent(s):
289b86f
Phase2/HuyDN: add requirements.txt
Browse files- app/configs/database.py +0 -7
app/configs/database.py
CHANGED
@@ -41,10 +41,3 @@ print("Firestore connected")
|
|
41 |
# Initialize Storage
|
42 |
firebase_bucket = storage.bucket(app=firebase_admin.get_app())
|
43 |
print("Storage connected")
|
44 |
-
|
45 |
-
# check have question_tests collection. If not, create it
|
46 |
-
if "question_tests" not in firebase_db.collections():
|
47 |
-
firebase_db.create_collection("question_tests")
|
48 |
-
print("question_tests collection created")
|
49 |
-
else:
|
50 |
-
print("question_tests collection already exists")
|
|
|
41 |
# Initialize Storage
|
42 |
firebase_bucket = storage.bucket(app=firebase_admin.get_app())
|
43 |
print("Storage connected")
|
|
|
|
|
|
|
|
|
|
|
|
|
|