o
    phj                     @   s  d dl m  mZ ejjdddd ejjdeddd ejjd	dd
d ejjdeddd ejjdddd ejjdeddd ejjdddd ejjdddd ejjdddd ejjddddd ejjdddd ejjddd dd ejjd!dd"dd ejjd#d$ed%d&d'd( ejjd)d)dd* ej e_	ej	j
 ej	_ej	jrd dlZd+ejd,< ej	jrdej	_ej	Z	dS )-    Nz--share
store_truezSet whether to share on Gradio.)actionhelpz--presetzApply specified UI preset.)typedefaultr   z--disable-preset-selectionz$Disables preset selection in Gradio.z
--languager   zTranslate UI using json files in [language] folder. For example, [--language example] will use [language/example.json] for translation.z--disable-offload-from-vramzZForce loading models to vram when the unload can be avoided. Some Mac users may need this.z--themez(launches the UI with light or dark theme)r   r   r   z--disable-image-logz6Prevent writing images and logs to the outputs folder.z--disable-analyticszDisables analytics for Gradio.z--disable-metadataz#Disables saving metadata to images.z--disable-preset-downloadz'Disables downloading models for presetsF)r   r   r   z --disable-enhance-output-sortingz8Disables enhance output sorting for final image gallery.z--enable-auto-describe-imagezKEnables automatic description of uov and enhance image when prompt is emptyz--always-download-new-modelzAlways download newer modelsz--rebuild-hash-cachez(Generates missing model and LoRA hashes.?ZCPU_NUM_THREADS)r   r   nargsmetavarZconstT)Zdisable_cuda_malloc
in_browserportFalseZGRADIO_ANALYTICS_ENABLED)Zldm_patched.modules.args_parsermodulesZargs_parserparseradd_argumentstrintZset_defaults
parse_argsargsZdisable_offload_from_vramZalways_offload_from_vramZdisable_analyticsosenvironZdisable_in_browserr    r   r   ZC:\Users\intelai3\Desktop\creaza imagini local\Fooocus_win64_2-5-0\Fooocus\args_manager.py<module>   sd    











