Alejo760 commited on
Commit
29c5abd
·
verified ·
1 Parent(s): 78d6344

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -117,7 +117,7 @@ def process_input(audio, pdfs, current_text):
117
  updated_text = current_text
118
 
119
  # Define the maximum words per chunk (adjust as needed)
120
- max_chunk_words = 4500 # Adjust this number based on your API limits
121
 
122
  for text_label, text_content in [("Audio", transcription_text), ("PDF", pdf_text)]:
123
  if not text_content:
 
117
  updated_text = current_text
118
 
119
  # Define the maximum words per chunk (adjust as needed)
120
+ max_chunk_words = 2500 # Adjust this number based on your API limits
121
 
122
  for text_label, text_content in [("Audio", transcription_text), ("PDF", pdf_text)]:
123
  if not text_content: