qq1023 commited on
Commit
2fca3c0
1 Parent(s): 667ec6f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -199,7 +199,7 @@ def process_and_output_files(input_files):
199
  # Extract and categorize text for each file
200
  text = extract_text(file)
201
  category = categorize_text(text)
202
- chatbot_response = list(query(category, text)) # Convert the generator to a list
203
  parsed_info = parse(category, chatbot_response)
204
 
205
  # Append the relevant data for this file to the output_data list
 
199
  # Extract and categorize text for each file
200
  text = extract_text(file)
201
  category = categorize_text(text)
202
+ chatbot_response = query(category, text) # Convert the generator to a list
203
  parsed_info = parse(category, chatbot_response)
204
 
205
  # Append the relevant data for this file to the output_data list