Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -178,7 +178,7 @@ Do not name the company if name is not there and return just the report and noth
|
|
| 178 |
st.error(f"An unexpected error occurred during Gemini report generation: {e}") # Catch other potential errors
|
| 179 |
return None
|
| 180 |
|
| 181 |
-
def chunk_transactions(transactions, batch_size=
|
| 182 |
"""Split transactions into smaller batches for processing."""
|
| 183 |
batches = []
|
| 184 |
for i in range(0, len(transactions), batch_size):
|
|
|
|
| 178 |
st.error(f"An unexpected error occurred during Gemini report generation: {e}") # Catch other potential errors
|
| 179 |
return None
|
| 180 |
|
| 181 |
+
def chunk_transactions(transactions, batch_size=400):
|
| 182 |
"""Split transactions into smaller batches for processing."""
|
| 183 |
batches = []
|
| 184 |
for i in range(0, len(transactions), batch_size):
|