kxx-kkk commited on
Commit
35dcb01
1 Parent(s): bba67da

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -33,8 +33,8 @@ with tab1:
33
  context = st.text_area("Enter the essay below:", height=330)
34
  question = st.text_input(label="Enter the question: ")
35
  if example:
36
- context.text = sample_text
37
- question.text = sample_question
38
 
39
  button = st.button("Get answer")
40
  if button:
 
33
  context = st.text_area("Enter the essay below:", height=330)
34
  question = st.text_input(label="Enter the question: ")
35
  if example:
36
+ context = st.text_area("Enter the essay below:", value= sample_text,height=330)
37
+ question = st.text_input(label="Enter the question: ", value= sample_question)
38
 
39
  button = st.button("Get answer")
40
  if button: