awacke1 commited on
Commit
8e4a8c9
·
1 Parent(s): 7840580

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -148,9 +148,9 @@ def main():
148
  # max_length = 12000 - optimal for gpt35 turbo. 2x=24000 for gpt4. 8x=96000 for gpt4-32k.
149
  max_length = st.sidebar.slider("File section length for large files", min_value=1000, max_value=128000, value=12000, step=1000)
150
 
151
- colprompt, colupload = st.columns([5,1]) # adjust the ratio as needed
152
  with colprompt:
153
- user_prompt = st.text_area("Enter prompts, instructions & questions:", '', height=100)
154
  with colupload:
155
  uploaded_file = st.file_uploader("Add a file for context:", type=["xml", "json", "html", "htm", "md", "txt"])
156
 
 
148
  # max_length = 12000 - optimal for gpt35 turbo. 2x=24000 for gpt4. 8x=96000 for gpt4-32k.
149
  max_length = st.sidebar.slider("File section length for large files", min_value=1000, max_value=128000, value=12000, step=1000)
150
 
151
+ colprompt, colupload = st.columns([5,3]) # adjust the ratio as needed
152
  with colprompt:
153
+ user_prompt = st.text_area("Enter prompts, instructions & questions:", '', height=150)
154
  with colupload:
155
  uploaded_file = st.file_uploader("Add a file for context:", type=["xml", "json", "html", "htm", "md", "txt"])
156