Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -1,3 +1,16 @@
|
|
1 |
import streamlit as st
|
2 |
|
3 |
-
st.write('https://huggingface.co/spaces/awacke1/Hackathon2022/')
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
import streamlit as st
|
2 |
|
3 |
+
st.write('https://huggingface.co/spaces/awacke1/Hackathon2022/')
|
4 |
+
|
5 |
+
import streamlit as st
|
6 |
+
|
7 |
+
@st.experimental_singleton
|
8 |
+
def get_everyone_session():
|
9 |
+
|
10 |
+
# This is for good - til container reboots.
|
11 |
+
DB_URL = "https://huggingface.co/spaces/awacke1/Hackathon2022"
|
12 |
+
engine = create_engine(DB_URL)
|
13 |
+
db_EditUrl = "https://huggingface.co/spaces/awacke1/Hackathon2022/edit/main/app.py"
|
14 |
+
return sessionmaker(engine)
|
15 |
+
|
16 |
+
dbsm = get_db_sessionmaker()
|