qq1023 commited on
Commit
2033ac5
1 Parent(s): cd89265

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -3
app.py CHANGED
@@ -243,9 +243,7 @@ def process_and_output_files(input_files):
243
  text = extract_text(file)
244
  category = categorize_text(text)
245
 
246
- ca = "RANDOM"
247
- chatbot_response = query(ca , text) # Convert the generator to a list
248
- #chatbot_response = query(category, text) # Convert the generator to a list
249
  #parsed_info = parse(category, chatbot_response)
250
  chats=list(chatbot_response)
251
  # Append the relevant data for this file to the output_data list
 
243
  text = extract_text(file)
244
  category = categorize_text(text)
245
 
246
+ chatbot_response = query(category, text) # Convert the generator to a list
 
 
247
  #parsed_info = parse(category, chatbot_response)
248
  chats=list(chatbot_response)
249
  # Append the relevant data for this file to the output_data list