Spaces:
Runtime error
Runtime error
Download javascript/trainMonitor.js from bilegentile/test: direct link, hf CLI and curl.
- Browser
- Download file 388 Bytes
-
https://huggingface.co/spaces/bilegentile/test/resolve/refs%2Fpr%2F3/javascript/trainMonitor.js
- Command line
-
hf download hf://spaces/bilegentile/test@refs/pr/3/javascript/trainMonitor.js
-
curl -L -o trainMonitor.js https://huggingface.co/spaces/bilegentile/test/resolve/refs%2Fpr%2F3/javascript/trainMonitor.js
388 Bytes
| function startTrainMonitor() { | |
| gradioApp().querySelector('#train_error').innerHTML = ''; | |
| const id = randomId(); | |
| const onProgress = (progress) => gradioApp().getElementById('train_progress').innerHTML = progress.textinfo; | |
| requestProgress(id, gradioApp().getElementById('train_gallery'), null, onProgress, false); | |
| const res = Array.from(arguments); | |
| res[0] = id; | |
| return res; | |
| } | |