Truong-Phuc Nguyen
commited on
Commit
•
6861876
1
Parent(s):
6f9831e
Update app.py
Browse files
app.py
CHANGED
@@ -1,15 +1,15 @@
|
|
1 |
import streamlit as st
|
2 |
q1 = st.text_area(placeholder='Question 1 ...', key='q1', label='Question 1')
|
3 |
-
a1 = st.text_area(placeholder='Answer for question 1 ...', key='a1', label='Answer 1')
|
4 |
|
5 |
q2 = st.text_area(placeholder='Question 2 ...', key='q2', label='Question 2')
|
6 |
-
a2 = st.text_area(placeholder='Answer for question 2 ...', key='a2', label='Answer 2')
|
7 |
|
8 |
q3 = st.text_area(placeholder='Question 3 ...', key='q3', label='Question 3')
|
9 |
-
a3 = st.text_area(placeholder='Answer for question 3 ...', key='a3', label='Answer 3')
|
10 |
|
11 |
q4 = st.text_area(placeholder='Question 4 ...', key='q4', label='Question 4')
|
12 |
-
a4 = st.text_area(placeholder='Answer for question 4 ...', key='a4', label='Answer 4')
|
13 |
|
14 |
btn_gen_str = st.button('Generate')
|
15 |
|
|
|
1 |
import streamlit as st
|
2 |
q1 = st.text_area(placeholder='Question 1 ...', key='q1', label='Question 1')
|
3 |
+
a1 = st.text_area(placeholder='Answer for question 1 ...', key='a1', label='Answer for question 1')
|
4 |
|
5 |
q2 = st.text_area(placeholder='Question 2 ...', key='q2', label='Question 2')
|
6 |
+
a2 = st.text_area(placeholder='Answer for question 2 ...', key='a2', label='Answer for question 2')
|
7 |
|
8 |
q3 = st.text_area(placeholder='Question 3 ...', key='q3', label='Question 3')
|
9 |
+
a3 = st.text_area(placeholder='Answer for question 3 ...', key='a3', label='Answer for question 3')
|
10 |
|
11 |
q4 = st.text_area(placeholder='Question 4 ...', key='q4', label='Question 4')
|
12 |
+
a4 = st.text_area(placeholder='Answer for question 4 ...', key='a4', label='Answer for question 4')
|
13 |
|
14 |
btn_gen_str = st.button('Generate')
|
15 |
|