Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -8,7 +8,7 @@ def findCorrelation(dataset, target):
|
|
8 |
|
9 |
print(dataset)
|
10 |
|
11 |
-
df = pd.read_csv(dataset
|
12 |
|
13 |
df["target"] = target
|
14 |
|
@@ -36,4 +36,4 @@ def findCorrelation(dataset, target):
|
|
36 |
return labels, fig1, fig2, fig3, fig4
|
37 |
|
38 |
demo = gr.Interface(fn=findCorrelation, inputs=[gr.File(), 'text'], outputs=[gr.Label(), gr.Plot(), gr.Plot(), gr.Plot(), gr.Plot()], title="Find correlation")
|
39 |
-
demo.launch()
|
|
|
8 |
|
9 |
print(dataset)
|
10 |
|
11 |
+
df = pd.read_csv(dataset)
|
12 |
|
13 |
df["target"] = target
|
14 |
|
|
|
36 |
return labels, fig1, fig2, fig3, fig4
|
37 |
|
38 |
demo = gr.Interface(fn=findCorrelation, inputs=[gr.File(), 'text'], outputs=[gr.Label(), gr.Plot(), gr.Plot(), gr.Plot(), gr.Plot()], title="Find correlation")
|
39 |
+
demo.launch(debug=True)
|