Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -8,6 +8,7 @@ from utils import footer
|
|
8 |
from page import generate, reduce
|
9 |
|
10 |
|
|
|
11 |
if( hasattr(st.session_state, 'page') == False):
|
12 |
st.session_state.page = 0
|
13 |
|
@@ -23,6 +24,8 @@ st.session_state.stop = False
|
|
23 |
st.session_state.progress = 0
|
24 |
st.session_state.regenerate = False
|
25 |
|
|
|
|
|
26 |
if(st.session_state.page == 0):
|
27 |
p2.empty()
|
28 |
p3.empty()
|
@@ -45,4 +48,4 @@ if(st.session_state.page == 2):
|
|
45 |
if startButton:
|
46 |
st.session_state.page = 0
|
47 |
|
48 |
-
|
|
|
8 |
from page import generate, reduce
|
9 |
|
10 |
|
11 |
+
|
12 |
if( hasattr(st.session_state, 'page') == False):
|
13 |
st.session_state.page = 0
|
14 |
|
|
|
24 |
st.session_state.progress = 0
|
25 |
st.session_state.regenerate = False
|
26 |
|
27 |
+
footer()
|
28 |
+
|
29 |
if(st.session_state.page == 0):
|
30 |
p2.empty()
|
31 |
p3.empty()
|
|
|
48 |
if startButton:
|
49 |
st.session_state.page = 0
|
50 |
|
51 |
+
|