Unggi commited on
Commit
a06bfe3
1 Parent(s): 5886e2b

change total debate

Browse files
Files changed (1) hide show
  1. vocal_app.py +22 -6
vocal_app.py CHANGED
@@ -172,7 +172,9 @@ def page2():
172
  with tab1:
173
  st.header(tab_titles["tab1"])
174
  debate_themes = ['Education','Sports','Religion','Justice','Pandemic','Politics','Minority','etc']
175
- st.session_state.debate_theme = st.selectbox("Select a debate theme", debate_themes)
 
 
176
 
177
  if st.session_state.debate_theme == 'Education':
178
  topic_list = [
@@ -239,11 +241,25 @@ def page2():
239
  "Assuming feasibility, THW choose to continuously relive the happiest moment of one’s life."
240
  ]
241
 
242
- st.session_state.topic = st.selectbox("Select a topic_list", topic_list)
243
-
244
- st.text_area("Input sound here", height=100)
245
-
246
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
247
 
248
  #st.session_state.topic = topic#st.selectbox("Select a topic_list", topic_list)
249
  #st.write(f"You have selected {st.session_state.topic_list}. Please input sound.")
 
172
  with tab1:
173
  st.header(tab_titles["tab1"])
174
  debate_themes = ['Education','Sports','Religion','Justice','Pandemic','Politics','Minority','etc']
175
+
176
+ st.write("1. Select a debate theme")
177
+ st.session_state.debate_theme = st.selectbox("Choose your debate theme", debate_themes)
178
 
179
  if st.session_state.debate_theme == 'Education':
180
  topic_list = [
 
241
  "Assuming feasibility, THW choose to continuously relive the happiest moment of one’s life."
242
  ]
243
 
244
+ st.write("2. Select a topic")
245
+ st.session_state.topic = st.selectbox("Choose your topic", topic_list)
246
+
247
+ st.write("3. Write 3 cases here (Each case should be consisted of opinion, reasoning, and example).")
248
+ st.text_area(
249
+ label="Case 1",
250
+ placeholder="Each case should be consisted of opinion, reasoning, and example.",
251
+ height=100
252
+ )
253
+ st.text_area(
254
+ label="Case 2",
255
+ placeholder="Each case should be consisted of opinion, reasoning, and example.",
256
+ height=100
257
+ )
258
+ st.text_area(
259
+ label="Case 3",
260
+ placeholder="Each case should be consisted of opinion, reasoning, and example.",
261
+ height=100
262
+ )
263
 
264
  #st.session_state.topic = topic#st.selectbox("Select a topic_list", topic_list)
265
  #st.write(f"You have selected {st.session_state.topic_list}. Please input sound.")