MaheshP98 commited on
Commit
630e8aa
·
verified ·
1 Parent(s): 1f2a07b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -538,7 +538,7 @@ with gr.Blocks(css=css) as demo:
538
  output_message = gr.Textbox(label="Maintenance Alerts", elem_classes=["maintenance-alert"])
539
  output_pdf = gr.File(label="Download Detailed PDF Report")
540
  with gr.Row():
541
- gr.HTML(generate_flowchart_html(), label="Processing Flowchart")
542
  with gr.Row():
543
  gr.Markdown("## Report Previews", elem_classes=["report-preview"])
544
  gr.Markdown("- **Usage Chart**: See the bar chart above for a visual of device usage by status.")
@@ -547,7 +547,7 @@ with gr.Blocks(css=css) as demo:
547
  process_button.click(
548
  fn=process_files,
549
  inputs=[file_input],
550
- outputs=[output_df, output_plot, output_pdf, output_message, output_summary, gr.HTML]
551
  )
552
 
553
  if __name__ == "__main__":
 
538
  output_message = gr.Textbox(label="Maintenance Alerts", elem_classes=["maintenance-alert"])
539
  output_pdf = gr.File(label="Download Detailed PDF Report")
540
  with gr.Row():
541
+ output_flowchart = gr.HTML(generate_flowchart_html(), label="Processing Flowchart")
542
  with gr.Row():
543
  gr.Markdown("## Report Previews", elem_classes=["report-preview"])
544
  gr.Markdown("- **Usage Chart**: See the bar chart above for a visual of device usage by status.")
 
547
  process_button.click(
548
  fn=process_files,
549
  inputs=[file_input],
550
+ outputs=[output_df, output_plot, output_pdf, output_message, output_summary, output_flowchart]
551
  )
552
 
553
  if __name__ == "__main__":