
    ;3h?                    X    d dl mZ d dlZd dlmZ d Z	 	 	 	 	 d	 	 	 	 	 	 	 	 	 	 	 	 	 ddZy)    )annotationsN)
ThemeClassc            	     N   t        j                  d      } | j                  dt        d       | j                  dt        d       | j                  dt        d	       | j                  d
t        d       | j                  dt        d       | j                  dt        d       | j                  dt        d       | j	                         }t        |j                  |j                  |j                  |j                  |j                  |j                  |j                         y )NzUpload a demo to a space)descriptionthemezTheme json file)typehelp	repo_namezHF repo name to store the themez
--org_nameu   The name of the org to save the space in. If None (the default), the username corresponding to the logged in user, or hƒ_token is used.z	--versionzSemver versionz
--hf_tokenzHF Tokenz--theme-namezName of theme.z--descriptionzDescription of theme)argparseArgumentParseradd_argumentstr
parse_argsupload_themer   r
   org_nameversionhf_token
theme_namer   )parserargss     Z/var/www/html/audio-gradio/venv/lib/python3.12/site-packages/gradio/themes/upload_theme.pymainr      s   $$1KLF
c0AB
#4UV
 X  
 #4DE
3Z@
  
 #  
 D

    c                Z    t        j                  |       } | j                  ||||||      S )N)r
   r   r   r   r   r   )r   loadpush_to_hub)r   r
   r   r   r   r   r   s          r   r   r   )   s<     OOE"E   r   )NNNNN)r   r   r
   r   r   
str | Noner   r   r   r   r   r   r   r   )
__future__r   r   gradio.themesr   r   r    r   r   <module>r!      sl    "  $H  !"  	
   r   