Commit Graph

1 Commits (master)

Author SHA1 Message Date
陳鈞 074de82dc5
chore(docker): Configure TensorBoard port through .env file (#2397)
* chore(docker): Configure TensorBoard port through .env file

- Added a new `.env` file to specify the TensorBoard port
- Updated the `docker-compose.yaml` file to import the TensorBoard port from the `.env` file
- Adjusted the tensorboard service in `docker-compose.yaml` to make the port configurable via an environment variable
- Added a comment in `docker-compose.yaml` to encourage changing the port in the `.env` file instead of the docker-compose file itself

* fix: the `Open tensorboard` button is not working in headless environment

Use the gradio builtin feature instead.

- In `class_tensorboard.py`, the "Open tensorboard" button now directly links to the tensorboard URL instead of calling the `open_tensorboard_url` function when clicked.
2024-04-26 19:43:37 -04:00