rameshmoorthy commited on
Commit
f9797b1
1 Parent(s): 7deb0d3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -76,8 +76,8 @@ with gr.Blocks() as cluster:
76
  with gr.Row():
77
  file=gr.File(file_types=['.csv', '.xlsx'], label="Upload a CSV or Excel file")
78
  type=gr.Radio(["pandas profiling", "sweetviz"], label="Type of report", info="Explore the data")
79
- btn=gr.Button(label="Download Report")
80
- dwn=gr.File(label="Download CSV"),
81
  with gr.Row():
82
  out=gr.HTML()
83
  btn.click(generate_report,inputs=[file,type],outputs=[dwn,out])
 
76
  with gr.Row():
77
  file=gr.File(file_types=['.csv', '.xlsx'], label="Upload a CSV or Excel file")
78
  type=gr.Radio(["pandas profiling", "sweetviz"], label="Type of report", info="Explore the data")
79
+ btn=gr.Button(value="Download Report")
80
+ dwn=gr.File(label="Download CSV")
81
  with gr.Row():
82
  out=gr.HTML()
83
  btn.click(generate_report,inputs=[file,type],outputs=[dwn,out])