Spaces:
Running
Running
James McCool
commited on
Commit
·
5e3911e
1
Parent(s):
0fb1f15
Update MongoDB connection in Streamlit app to use PGA_Database instead of MLB_Database.
Browse files- src/streamlit_app.py +1 -1
src/streamlit_app.py
CHANGED
@@ -10,7 +10,7 @@ st.set_page_config(layout="wide")
|
|
10 |
def init_conn():
|
11 |
uri = os.getenv('mongo_uri')
|
12 |
client = pymongo.MongoClient(uri, retryWrites=True, serverSelectionTimeoutMS=500000)
|
13 |
-
db = client["
|
14 |
|
15 |
return db
|
16 |
|
|
|
10 |
def init_conn():
|
11 |
uri = os.getenv('mongo_uri')
|
12 |
client = pymongo.MongoClient(uri, retryWrites=True, serverSelectionTimeoutMS=500000)
|
13 |
+
db = client["PGA_Database"]
|
14 |
|
15 |
return db
|
16 |
|