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