Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -124,8 +124,9 @@ def generate_report(file, type):
|
|
| 124 |
title = os.path.splitext(filename)[0] # Extract title from filename (without extension)
|
| 125 |
reports.append(title)
|
| 126 |
reports.append(output_dir_html+'/'+filename)
|
|
|
|
| 127 |
|
| 128 |
-
dft = AV.AutoViz(filename='', sep=',', header=0, verbose=2,
|
| 129 |
lowess=False,chart_format='png',max_rows_analyzed=150000,
|
| 130 |
max_cols_analyzed=30,save_plot_dir=None)
|
| 131 |
|
|
@@ -136,6 +137,7 @@ def generate_report(file, type):
|
|
| 136 |
title = os.path.splitext(filename)[0] # Extract title from filename (without extension)
|
| 137 |
imgs.append(title)
|
| 138 |
imgs.append(output_dir_img+'/'+filename)
|
|
|
|
| 139 |
|
| 140 |
except Exception as e:
|
| 141 |
dfviz=df
|
|
|
|
| 124 |
title = os.path.splitext(filename)[0] # Extract title from filename (without extension)
|
| 125 |
reports.append(title)
|
| 126 |
reports.append(output_dir_html+'/'+filename)
|
| 127 |
+
print(reports)
|
| 128 |
|
| 129 |
+
dft = AV.AutoViz(filename='', sep=',', header=0, verbose=2,dfte=df,
|
| 130 |
lowess=False,chart_format='png',max_rows_analyzed=150000,
|
| 131 |
max_cols_analyzed=30,save_plot_dir=None)
|
| 132 |
|
|
|
|
| 137 |
title = os.path.splitext(filename)[0] # Extract title from filename (without extension)
|
| 138 |
imgs.append(title)
|
| 139 |
imgs.append(output_dir_img+'/'+filename)
|
| 140 |
+
print(imgs)
|
| 141 |
|
| 142 |
except Exception as e:
|
| 143 |
dfviz=df
|