Jegree commited on
Commit
e46d68a
·
verified ·
1 Parent(s): 5d8ba6b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +10 -7
app.py CHANGED
@@ -80,15 +80,11 @@ st.markdown("""
80
  <style>
81
  #waterMark{
82
  position:fixed;
83
- top: 20%;
84
  user-select: none;
85
- left: 11%;
86
- font-size: 2200%;
87
- font: bold;
88
- letter-spacing: 100%;
89
- /* transform: rotate(-33deg); */
90
  color: rgb(195, 114, 44);
91
- /* -webkit-text-stroke: 2px rgb(0, 0, 64); */
92
 
93
  font-family: "Imperial Script", serif;
94
  font-weight: 400;
@@ -100,6 +96,13 @@ st.markdown("""
100
  </div>
101
  """,
102
  unsafe_allow_html = True)
 
 
 
 
 
 
 
103
  if st.session_state.question_no == 1:
104
 
105
  progress = st.progress((st.session_state.question_no) / 10)
 
80
  <style>
81
  #waterMark{
82
  position:fixed;
83
+ top: 10%;
84
  user-select: none;
85
+ left: 8%;
86
+ font-size: 2100%;
 
 
 
87
  color: rgb(195, 114, 44);
 
88
 
89
  font-family: "Imperial Script", serif;
90
  font-weight: 400;
 
96
  </div>
97
  """,
98
  unsafe_allow_html = True)
99
+
100
+ if st.session_state.question_no == 0:
101
+ if st.button("Start Test"):
102
+ st.session_state.question_no += 1
103
+ st.rerun()
104
+
105
+
106
  if st.session_state.question_no == 1:
107
 
108
  progress = st.progress((st.session_state.question_no) / 10)