Spaces:
Runtime error
Runtime error
Download lib/fixes/tensor-launch.py from LuminanceImagine/RVC_Inference_HF: direct link, hf CLI and curl.
- Browser
- Download file 320 Bytes
-
https://huggingface.co/spaces/LuminanceImagine/RVC_Inference_HF/resolve/main/lib/fixes/tensor-launch.py
- Command line
-
hf download hf://spaces/LuminanceImagine/RVC_Inference_HF/lib/fixes/tensor-launch.py
-
curl -L -o tensor-launch.py https://huggingface.co/spaces/LuminanceImagine/RVC_Inference_HF/resolve/main/lib/fixes/tensor-launch.py
320 Bytes
| import time | |
| from tensorboard import program | |
| log_path = "logs" | |
| if __name__ == "__main__": | |
| tb = program.TensorBoard() | |
| tb.configure(argv=[None, '--logdir', log_path]) | |
| url = tb.launch() | |
| print(f'Tensorboard can be accessed at: {url}') | |
| while True: | |
| time.sleep(600) # Keep the main thread running |