Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -49,10 +49,8 @@ def findCorrelation(dataset, target):
|
|
49 |
sns.regplot(x=df[keys[2][0]], y=df[target])
|
50 |
|
51 |
print("\n Fig 4")
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
return labels, fig1, fig2, fig3, fig4
|
56 |
|
57 |
-
demo = gr.Interface(fn=findCorrelation, inputs=[gr.File(), 'text'], outputs=[gr.Label(), gr.Plot(), gr.Plot(), gr.Plot(), gr.Plot()], title="Find correlation")
|
58 |
demo.launch(debug=True)
|
|
|
49 |
sns.regplot(x=df[keys[2][0]], y=df[target])
|
50 |
|
51 |
print("\n Fig 4")
|
52 |
+
|
53 |
+
return d, fig1, fig2, fig3, fig4
|
|
|
|
|
54 |
|
55 |
+
demo = gr.Interface(fn=findCorrelation, inputs=[gr.File(), 'text'], outputs=[gr.Label(num_top_classes = 10), gr.Plot(), gr.Plot(), gr.Plot(), gr.Plot()], title="Find correlation")
|
56 |
demo.launch(debug=True)
|