Commit 483ac2e
authored
Fix load_from_disk progress bar with redirected stdout (#7919)
* Fix load_from_disk progress bar with redirected stdout
Fixes #7918. Changed disable=None to disable=False to prevent TTY
auto-detection from failing when stdout is redirected.
* Run ruff format
* Check TQDM_POSITION to force-enable progress in cloud environments
* Move TQDM_POSITION check to tqdm class for all progress bars1 parent f0a17a1 commit 483ac2e
1 file changed
+4
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| 43 | + | |
43 | 44 | | |
44 | 45 | | |
45 | 46 | | |
| |||
111 | 112 | | |
112 | 113 | | |
113 | 114 | | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
114 | 118 | | |
115 | 119 | | |
116 | 120 | | |
| |||
0 commit comments