Update app.py
Browse files
app.py
CHANGED
@@ -80,11 +80,18 @@ cluster = gr.Interface(
|
|
80 |
}
|
81 |
""",
|
82 |
layout=gr.Column(
|
83 |
-
|
|
|
84 |
gr.Button(value="Download Report", type="submit") # Optional: Replace button within HTML if needed
|
85 |
),
|
86 |
title="Excel sheet Profiling Report",
|
87 |
live=True,
|
88 |
)
|
89 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
90 |
cluster.launch()
|
|
|
80 |
}
|
81 |
""",
|
82 |
layout=gr.Column(
|
83 |
+
'html'
|
84 |
+
#gr.HTML(label="Data Profile Report", html_content=download_html),
|
85 |
gr.Button(value="Download Report", type="submit") # Optional: Replace button within HTML if needed
|
86 |
),
|
87 |
title="Excel sheet Profiling Report",
|
88 |
live=True,
|
89 |
)
|
90 |
+
# with gr.Blocks() as cluster:
|
91 |
+
# with gr.Row():
|
92 |
+
# gr.File(file_types=['.csv', '.xlsx'], label="Upload a CSV or Excel file"),
|
93 |
+
# gr.Radio(["pandas profiling", "sweetviz"], label="Type of report", info="Explore the data")]
|
94 |
+
# btn=gr.Button(value="Download Report", type="submit")
|
95 |
+
# with gr.Row():
|
96 |
+
# gr.Button(value="Download Report", type="submit")
|
97 |
cluster.launch()
|