o
    2h                     @   sz   d Z ddlZddlmZ ddlmZ ddlmZ ddlmZ ddlm	Z	 ddl
mZ e Zd	d
 Zedkr;e  dS dS )aK  TensorBoard main module.

This module ties together `tensorboard.program` and
`tensorboard.default_plugins` to provide standard TensorBoard. It's
meant to be tiny and act as little other than a config file. Those
wishing to customize the set of plugins or static assets that
TensorBoard uses can swap out this file with their own.
    N)app)default)main_lib)program)base_plugin)
tb_loggingc               
   C   sv   t   tjt d} ztj| j| j	d W dS  t
jy: } ztd| tjd td W Y d}~dS d}~ww )z#Initializes flags and calls main().)plugins)flags_parserz	Error: %s)file   N)r   global_initr   TensorBoardr   get_pluginsr   runmain	configurer   
FlagsErrorprintsysstderrexit)tensorboarde r   K/var/www/html/chatgem/venv/lib/python3.10/site-packages/tensorboard/main.pyrun_main$   s   r   __main__)__doc__r   abslr   r   r   r   r   tensorboard.pluginsr   tensorboard.utilr   
get_loggerloggerr   __name__r   r   r   r   <module>   s   	
