Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -126,7 +126,7 @@ if "df" in st.session_state:
|
|
126 |
with st.spinner("Running query..."):
|
127 |
try:
|
128 |
# Token limit configuration
|
129 |
-
max_rows =
|
130 |
total_rows = len(df)
|
131 |
|
132 |
if total_rows > max_rows:
|
|
|
126 |
with st.spinner("Running query..."):
|
127 |
try:
|
128 |
# Token limit configuration
|
129 |
+
max_rows = 200 # Adjust chunk size dynamically
|
130 |
total_rows = len(df)
|
131 |
|
132 |
if total_rows > max_rows:
|