daniel-saed commited on
Commit
51705db
·
verified ·
1 Parent(s): 2d578e2

Update utils/helper.py

Browse files
Files changed (1) hide show
  1. utils/helper.py +1 -1
utils/helper.py CHANGED
@@ -54,7 +54,7 @@ print(f"Final BASE_DIR: {BASE_DIR}")
54
  @st.cache_resource
55
  def get_mongo_client():
56
 
57
- return os.getenv('MONGO_URI')
58
  client = get_mongo_client()
59
 
60
 
 
54
  @st.cache_resource
55
  def get_mongo_client():
56
 
57
+ return MongoClient(os.getenv('MONGO_URI'))
58
  client = get_mongo_client()
59
 
60