Darshan03 commited on
Commit
dee086a
·
verified ·
1 Parent(s): 159e273

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -248,7 +248,7 @@ just reformulate it if needed and otherwise return it as is."""),
248
  try:
249
  output = structured_llm.invoke(context)
250
  st.subheader("Generated Structured Output:")
251
- st.json(output.dict())
252
 
253
  # Save the generated output to a JSON file
254
  output_filename = f"{Path(file_path_to_process).stem}_structured.json"
 
248
  try:
249
  output = structured_llm.invoke(context)
250
  st.subheader("Generated Structured Output:")
251
+ st.json(output)
252
 
253
  # Save the generated output to a JSON file
254
  output_filename = f"{Path(file_path_to_process).stem}_structured.json"