Update app.py
Browse files
app.py
CHANGED
|
@@ -97,8 +97,11 @@ def _run(file, gk, mk, gek, n_trials, progress=gr.Progress(track_tqdm=True)):
|
|
| 97 |
sp = r.get("sheet_paths",{})
|
| 98 |
mdf = pd.DataFrame(r.get("mismatch_table",[]))
|
| 99 |
progress(1.0, desc="β
Done!")
|
| 100 |
-
dl_files = [
|
| 101 |
-
|
|
|
|
|
|
|
|
|
|
| 102 |
|
| 103 |
# ββ UI βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
|
| 104 |
css = ".gradio-container{background:#0d1117!important;color:#c9d1d9!important}" \
|
|
|
|
| 97 |
sp = r.get("sheet_paths",{})
|
| 98 |
mdf = pd.DataFrame(r.get("mismatch_table",[]))
|
| 99 |
progress(1.0, desc="β
Done!")
|
| 100 |
+
dl_files = [f for f in
|
| 101 |
+
[sp.get(1), sp.get(2), sp.get(3), sp.get(4), r.get("json_path")]
|
| 102 |
+
if f is not None]
|
| 103 |
+
return (summary, fig, pfig, tl_show, cdf, s1, s2, s3, s4,
|
| 104 |
+
dl_files if dl_files else None, mdf)
|
| 105 |
|
| 106 |
# ββ UI βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
|
| 107 |
css = ".gradio-container{background:#0d1117!important;color:#c9d1d9!important}" \
|