kcarnold commited on
Commit
d3555f7
1 Parent(s): 104d239

set heights

Browse files
Files changed (1) hide show
  1. pages/1_Rewrite.py +2 -2
pages/1_Rewrite.py CHANGED
@@ -18,9 +18,9 @@ if prompt.startswith("Rewrite this document to be"):
18
  elif prompt == "Other":
19
  prompt = st.text_area("Prompt", "Rewrite this document to be more clear and concise.")
20
  st.write("Prompt:", prompt)
21
- doc = st.text_area("Document", "", placeholder="Paste your document here.")
22
  st.button("Update document")
23
- rewrite_in_progress = st.text_area("Rewrite in progress", key='rewrite_in_progress', value="", placeholder="Clicking the buttons below will update this field. You can also edit it directly; press Ctrl+Enter to apply changes.")
24
 
25
  if doc.strip() == "" and rewrite_in_progress.strip() == "":
26
  # Allow partial rewrites as a hack to enable autocomplete from the prompt
 
18
  elif prompt == "Other":
19
  prompt = st.text_area("Prompt", "Rewrite this document to be more clear and concise.")
20
  st.write("Prompt:", prompt)
21
+ doc = st.text_area("Document", "", placeholder="Paste your document here.", height=300)
22
  st.button("Update document")
23
+ rewrite_in_progress = st.text_area("Rewrite in progress", key='rewrite_in_progress', value="", placeholder="Clicking the buttons below will update this field. You can also edit it directly; press Ctrl+Enter to apply changes.", height=300)
24
 
25
  if doc.strip() == "" and rewrite_in_progress.strip() == "":
26
  # Allow partial rewrites as a hack to enable autocomplete from the prompt