o
    f~#g?                     @  sB   d dl mZ d dlZd dlmZ dd Z					ddddZdS )    )annotationsN)
ThemeClassc                  C  s   t jdd} | jdtdd | jdtdd | jdtd	d | jd
tdd | jdtdd | jdtdd | jdtdd |  }t|j|j|j|j	|j
|j|j d S )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args r   /var/www/static.ux5.de/https/Moving-Object-Detection-with-OpenCV/env/lib/python3.10/site-packages/gradio/themes/upload_theme.pymain   s<   r   r   r   r   r   
str | Noner   r   r   r   c                 C  s    t | } | j||||||dS )N)r   r   r   r   r   r   )r   loadpush_to_hub)r   r   r   r   r   r   r   r   r   r   r   )   s   
	r   )NNNNN)r   r   r   r   r   r   r   r   r   r   r   r   r   r   )
__future__r   r	   gradio.themesr   r   r   r   r   r   r   <module>   s    $