Prakash N commited on
Commit
8d8ae2b
1 Parent(s): 088c6b5

changed summary flow

Browse files
Files changed (1) hide show
  1. app.py +6 -2
app.py CHANGED
@@ -55,7 +55,11 @@ with col1:
55
 
56
  with col2:
57
  col2.header("Step 2:")
58
- summary = "<< Add some text in ( Step 1 ) for me to summarize >>"
59
- y = st.text_area("Here is the completed summary for you to edit", summary)
 
 
 
 
60
  st.button("Submit edits")
61
  # st.balloons()
 
55
 
56
  with col2:
57
  col2.header("Step 2:")
58
+ dummy_text = "<< Add some text in ( Step 1 ) for me to summarize >>"
59
+ if (len)summary < 10:
60
+ intial_output = dummy_text
61
+ else:
62
+ intial_output = summary
63
+ y = st.text_area("Here is the completed summary for you to edit", intial_output)
64
  st.button("Submit edits")
65
  # st.balloons()