Update app.py
Browse files
app.py
CHANGED
@@ -6,11 +6,9 @@ import numpy as np
|
|
6 |
import streamlit as st
|
7 |
import tensorflow as tf
|
8 |
from pymongo import MongoClient
|
9 |
-
from credentials import mongo_url
|
10 |
|
11 |
-
@st.cache
|
12 |
def load_data():
|
13 |
-
client = MongoClient(
|
14 |
db = client['medical-app-auth']
|
15 |
collection = db['login-data']
|
16 |
brain_tumor_model = tf.keras.models.load_model('models/brain_tumor.h5')
|
|
|
6 |
import streamlit as st
|
7 |
import tensorflow as tf
|
8 |
from pymongo import MongoClient
|
|
|
9 |
|
|
|
10 |
def load_data():
|
11 |
+
client = MongoClient("mongodb+srv://kushagrasharma_13:[email protected]/?retryWrites=true&w=majority&appName=Cluster0")
|
12 |
db = client['medical-app-auth']
|
13 |
collection = db['login-data']
|
14 |
brain_tumor_model = tf.keras.models.load_model('models/brain_tumor.h5')
|