qq1023 commited on
Commit
e65b5c1
1 Parent(s): f03586e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -6
app.py CHANGED
@@ -213,12 +213,12 @@ def process_and_output_files(input_files):
213
  chats=list(chatbot_response)
214
  # Append the relevant data for this file to the output_data list
215
  output_data.append({
216
- "File Name": file.name,
217
- "Extracted Text": text,
218
- "Category": category,
219
- "Chatbot Response": chatbot_response, # Access the first element as a list
220
- "trial" : chats,
221
- "Parsed Information": chats[1]["value"][0][1] ,
222
  })
223
 
224
  i=i+1
 
213
  chats=list(chatbot_response)
214
  # Append the relevant data for this file to the output_data list
215
  output_data.append({
216
+ #"File Name": file.name,
217
+ #"Extracted Text": text,
218
+ #"Category": category,
219
+ #"Chatbot Response": chatbot_response, # Access the first element as a list
220
+ #"trial" : chats,
221
+ chats[1]["value"][0][1] ,
222
  })
223
 
224
  i=i+1