Spaces:
Runtime error
Runtime error
IsaacKerson
commited on
Commit
•
9311bf4
1
Parent(s):
0786633
connect quiz_maker.db to view page
Browse files- multipage.py +0 -1
- pages/view.py +1 -1
multipage.py
CHANGED
@@ -3,7 +3,6 @@ This file is the framework for generating multiple Streamlit applications
|
|
3 |
through an object oriented framework.
|
4 |
"""
|
5 |
|
6 |
-
# Import necessary libraries
|
7 |
import streamlit as st
|
8 |
|
9 |
# Define the multipage class to manage the multiple apps in our program
|
|
|
3 |
through an object oriented framework.
|
4 |
"""
|
5 |
|
|
|
6 |
import streamlit as st
|
7 |
|
8 |
# Define the multipage class to manage the multiple apps in our program
|
pages/view.py
CHANGED
@@ -9,7 +9,7 @@ def app():
|
|
9 |
st.markdown("## View Data")
|
10 |
|
11 |
BASE_DIR = os.path.dirname(os.path.abspath(__file__))
|
12 |
-
DATABASE = os.path.join(BASE_DIR, '
|
13 |
|
14 |
c, conn = db_connect(DATABASE)
|
15 |
|
|
|
9 |
st.markdown("## View Data")
|
10 |
|
11 |
BASE_DIR = os.path.dirname(os.path.abspath(__file__))
|
12 |
+
DATABASE = os.path.join(BASE_DIR, 'quiz_maker.db')
|
13 |
|
14 |
c, conn = db_connect(DATABASE)
|
15 |
|