Spaces:
Sleeping
Sleeping
Update src/streamlit_app.py
Browse files- src/streamlit_app.py +2 -2
src/streamlit_app.py
CHANGED
|
@@ -61,7 +61,7 @@ def load_css(file_name):
|
|
| 61 |
except FileNotFoundError:
|
| 62 |
st.error(t("css_error"))
|
| 63 |
|
| 64 |
-
load_css("style.css")
|
| 65 |
|
| 66 |
# Initialize session state
|
| 67 |
if 'results' not in st.session_state:
|
|
@@ -86,7 +86,7 @@ class Patient(Base):
|
|
| 86 |
biomarkers = Column(String)
|
| 87 |
created_at = Column(DateTime, default=datetime.utcnow)
|
| 88 |
|
| 89 |
-
engine = create_engine('sqlite:///
|
| 90 |
Base.metadata.create_all(engine)
|
| 91 |
Session = sessionmaker(bind=engine)
|
| 92 |
|
|
|
|
| 61 |
except FileNotFoundError:
|
| 62 |
st.error(t("css_error"))
|
| 63 |
|
| 64 |
+
load_css("src/style.css")
|
| 65 |
|
| 66 |
# Initialize session state
|
| 67 |
if 'results' not in st.session_state:
|
|
|
|
| 86 |
biomarkers = Column(String)
|
| 87 |
created_at = Column(DateTime, default=datetime.utcnow)
|
| 88 |
|
| 89 |
+
engine = create_engine('sqlite:///src/patients.db')
|
| 90 |
Base.metadata.create_all(engine)
|
| 91 |
Session = sessionmaker(bind=engine)
|
| 92 |
|