IMprove output display
Browse files
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:
|