BillBojangeles2000 commited on
Commit
5267e00
·
1 Parent(s): 18975e2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -6
app.py CHANGED
@@ -1,7 +1,8 @@
1
  import streamlit as st
2
- with st.form("Quiz Generation"):
3
- st.write("What topic do you want to get tested on?")
4
- res = st.text_input()
5
- submitted = st.form_submit_button("Submit")
6
- if submitted:
7
- st.write("You said you wanted to be quized on:", res)
 
 
1
  import streamlit as st
2
+ Quiz = st.form("Quiz Generation"):
3
+ res = st.write("What topic do you want to get tested on?")
4
+ submit = animal.form_submit_button("Submit")
5
+ if submit:
6
+ animal.subheader(res)
7
+ else:
8
+ animal.subheader(' ')