Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -32,7 +32,7 @@ def plot(df):
|
|
32 |
plots = ["corr.png","scatter.png", "bar.png", "loading_dist.png", "attribute_3.png", "swarmplot.png"]
|
33 |
return plots
|
34 |
|
35 |
-
inputs = [gr.Dataframe()]
|
36 |
-
outputs = [gr.Gallery().style(grid=(3,3))]
|
37 |
|
38 |
-
gr.Interface(plot, inputs=inputs, outputs=outputs, examples=[df.head(100)]).launch()
|
|
|
32 |
plots = ["corr.png","scatter.png", "bar.png", "loading_dist.png", "attribute_3.png", "swarmplot.png"]
|
33 |
return plots
|
34 |
|
35 |
+
inputs = [gr.Dataframe(label="Supersoaker Production Data")]
|
36 |
+
outputs = [gr.Gallery(label="Profiling Dashboard").style(grid=(3,3))]
|
37 |
|
38 |
+
gr.Interface(plot, inputs=inputs, outputs=outputs, examples=[df.head(100)], title="Supersoaker Failures Analysis Dashboard", description="This is a data analysis & visualization dashboard based on supersoaker failures data.").launch()
|