FahadAlam commited on
Commit
e7c616e
1 Parent(s): 807f334

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -8,7 +8,7 @@ def findCorrelation(dataset, target):
8
 
9
  print(dataset)
10
 
11
- df = pd.read_csv(dataset.value)
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)