qq1023 commited on
Commit
10d37cd
·
1 Parent(s): 1dcfd62

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +12 -12
app.py CHANGED
@@ -217,18 +217,18 @@ def process_and_output_files(input_files):
217
  "Extracted Text": text,
218
  "Category": category,
219
  "Chatbot Response": chatbot_response, # Access the first element as a list
220
-
221
- try:
222
- chatlist = list(chatbot_response)
223
- "trial": chatlist,
224
- except Exception as e:
225
- "trial": f"Error: {e}",
226
-
227
- try:
228
- chatlist = list(chatbot_response)
229
- "Parsed Information": chatlist[i][1][1],
230
- except Exception as e:
231
- "Parsed Information": f"Error: {e}",
232
  })
233
 
234
  i=i+1
 
217
  "Extracted Text": text,
218
  "Category": category,
219
  "Chatbot Response": chatbot_response, # Access the first element as a list
220
+ "trial" : list(chatbot_response),
221
+ # try:
222
+ # chatlist = list(chatbot_response)
223
+ # "trial": chatlist,
224
+ # except Exception as e:
225
+ # "trial": f"Error: {e}",
226
+
227
+ # try:
228
+ # chatlist = list(chatbot_response)
229
+ # "Parsed Information": chatlist[i][1][1],
230
+ # except Exception as e:
231
+ # "Parsed Information": f"Error: {e}",
232
  })
233
 
234
  i=i+1