awacke1 commited on
Commit
f427745
·
1 Parent(s): 353974f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -111,7 +111,7 @@ def read_file_content(file,max_length):
111
  def main():
112
  user_prompt = st.text_area("Your question:", '', height=120)
113
 
114
- collength, colupload = st.sidebar.columns([4,1]) # adjust the ratio as needed
115
  with collength:
116
  #max_length = 12000 - optimal for gpt35 turbo. 2x=24000 for gpt4. 8x=96000 for gpt4-32k.
117
  max_length = st.slider("Context Section Length", min_value=1000, max_value=128000, value=12000, step=1000)
 
111
  def main():
112
  user_prompt = st.text_area("Your question:", '', height=120)
113
 
114
+ collength, colupload = st.columns([4,1]) # adjust the ratio as needed
115
  with collength:
116
  #max_length = 12000 - optimal for gpt35 turbo. 2x=24000 for gpt4. 8x=96000 for gpt4-32k.
117
  max_length = st.slider("Context Section Length", min_value=1000, max_value=128000, value=12000, step=1000)