agoyal496 commited on
Commit
6dee266
1 Parent(s): ba9b4f4

IMprove output display

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -46,7 +46,7 @@ def process_inputs(api_key:str, pdf_file, questions: str):
46
  output_dict[question] = llm_generator.generate_answer(question, similar_chunks)
47
 
48
 
49
- response = json.dumps(output_dict)
50
  return response
51
 
52
  with gr.Blocks() as demo:
 
46
  output_dict[question] = llm_generator.generate_answer(question, similar_chunks)
47
 
48
 
49
+ response = json.dumps(output_dict, indent=4)
50
  return response
51
 
52
  with gr.Blocks() as demo: