Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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 |
-
|
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
|