Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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.
|
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)
|