Spaces:
helios0l
/
Runtime error

RVC_HF / Fixes /tensor-launch.py
r3gm's picture
Upload 288 files
7bc29af
raw
history blame
347 Bytes
import threading
import time
from tensorboard import program
import os
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