"Save results as video":"Salva i risultati come video",
"Save results as video":"Salva i risultati come video",
"Frames per second":"Fotogrammi al secondo",
"Frames per second":"Fotogrammi al secondo",
"Iterate seed every line":"Iterare il seme per ogni riga",
"Iterate seed every line":"Iterare il seme per ogni riga",
"Use same random seed for all lines":"Usa lo stesso seme casuale per tutte le righe",
"List of prompt inputs":"Elenco di prompt di input",
"List of prompt inputs":"Elenco di prompt di input",
"Upload prompt inputs":"Carica un file contenente i prompt di input",
"Upload prompt inputs":"Carica un file contenente i prompt di input",
"n":"Esegui n volte",
"n":"Esegui n volte",
...
@@ -294,6 +296,13 @@
...
@@ -294,6 +296,13 @@
"Transparent PNG":"PNG trasparente",
"Transparent PNG":"PNG trasparente",
"Noise Tolerance":"Tolleranza al rumore",
"Noise Tolerance":"Tolleranza al rumore",
"Quantize":"Quantizzare",
"Quantize":"Quantizzare",
"Dry Run":"Esecuzione a vuoto (Debug)",
"NEW!":"NUOVO!",
"Premium Fantasy Card Template":"Premium Fantasy Card Template",
"is now available.":"è ora disponibile.",
"Generate a wide variety of creatures and characters in the style of a fantasy card game. Perfect for heroes, animals, monsters, and even crazy hybrids.":"Genera un'ampia varietà di creature e personaggi nello stile di un gioco di carte fantasy. Perfetto per eroi, animali, mostri e persino ibridi incredibili.",
"Learn More ➜":"Per saperne di più ➜",
"Purchases help fund the continued development of Unprompted. Thank you for your support!":"Gli acquisti aiutano a finanziare il continuo sviluppo di Unprompted. Grazie per il vostro sostegno!",
"X type":"Parametro asse X",
"X type":"Parametro asse X",
"Nothing":"Niente",
"Nothing":"Niente",
"Var. seed":"Seme della variazione",
"Var. seed":"Seme della variazione",
...
@@ -424,6 +433,7 @@
...
@@ -424,6 +433,7 @@
"Sigma adjustment for finding noise for image":"Regolazione Sigma per trovare il rumore per l'immagine",
"Sigma adjustment for finding noise for image":"Regolazione Sigma per trovare il rumore per l'immagine",
"Tile size":"Dimensione piastrella",
"Tile size":"Dimensione piastrella",
"Tile overlap":"Sovrapposizione piastrella",
"Tile overlap":"Sovrapposizione piastrella",
"New seed for each tile":"Nuovo seme per ogni piastrella",
"alternate img2img imgage":"Immagine alternativa per img2img",
"alternate img2img imgage":"Immagine alternativa per img2img",
"interpolation values":"Valori di interpolazione",
"interpolation values":"Valori di interpolazione",
"Refinement loops":"Cicli di affinamento",
"Refinement loops":"Cicli di affinamento",
...
@@ -455,8 +465,9 @@
...
@@ -455,8 +465,9 @@
"Will upscale the image to twice the dimensions; use width and height sliders to set tile size":"Aumenterà l'immagine al doppio delle dimensioni; utilizzare i cursori di larghezza e altezza per impostare la dimensione della piastrella",
"Will upscale the image to twice the dimensions; use width and height sliders to set tile size":"Aumenterà l'immagine al doppio delle dimensioni; utilizzare i cursori di larghezza e altezza per impostare la dimensione della piastrella",
"Upscaler":"Ampliamento immagine",
"Upscaler":"Ampliamento immagine",
"Lanczos":"Lanczos",
"Lanczos":"Lanczos",
"Nearest":"Nearest",
"LDSR":"LDSR",
"LDSR":"LDSR",
"ESRGAN_4x":"ESRGAN_4x",
"BSRGAN":"BSRGAN",
"ScuNET GAN":"ScuNET GAN",
"ScuNET GAN":"ScuNET GAN",
"ScuNET PSNR":"ScuNET PSNR",
"ScuNET PSNR":"ScuNET PSNR",
"SwinIR 4x":"SwinIR 4x",
"SwinIR 4x":"SwinIR 4x",
...
@@ -808,6 +819,7 @@
...
@@ -808,6 +819,7 @@
"image_path":"Percorso immagine",
"image_path":"Percorso immagine",
"mp4_path":"Percorso MP4",
"mp4_path":"Percorso MP4",
"Click here after the generation to show the video":"Clicca qui dopo la generazione per mostrare il video",
"Click here after the generation to show the video":"Clicca qui dopo la generazione per mostrare il video",
"NOTE: If the 'Generate' button doesn't work, go in Settings and click 'Restart Gradio and Refresh...'.":"NOTA: se il pulsante 'Genera' non funziona, vai in Impostazioni e fai clic su 'Riavvia Gradio e Aggiorna...'.",
"Save Settings":"Salva le impostazioni",
"Save Settings":"Salva le impostazioni",
"Load Settings":"Carica le impostazioni",
"Load Settings":"Carica le impostazioni",
"Path relative to the webui folder.":"Percorso relativo alla cartella webui.",
"Path relative to the webui folder.":"Percorso relativo alla cartella webui.",
...
@@ -922,8 +934,8 @@
...
@@ -922,8 +934,8 @@
"Renew Page":"Aggiorna la pagina",
"Renew Page":"Aggiorna la pagina",
"Number":"Numero",
"Number":"Numero",
"set_index":"Imposta indice",
"set_index":"Imposta indice",
"load_switch":"load_switch",
"load_switch":"Carica",
"turn_page_switch":"turn_page_switch",
"turn_page_switch":"Volta pagina",
"Checkbox":"Casella di controllo",
"Checkbox":"Casella di controllo",
"Checkbox Group":"Seleziona immagini per",
"Checkbox Group":"Seleziona immagini per",
"artists":"Artisti",
"artists":"Artisti",
...
@@ -956,6 +968,8 @@
...
@@ -956,6 +968,8 @@
"Save text information about generation parameters as chunks to png files":"Salva le informazioni di testo dei parametri di generazione come blocchi nel file png",
"Save text information about generation parameters as chunks to png files":"Salva le informazioni di testo dei parametri di generazione come blocchi nel file png",
"Create a text file next to every image with generation parameters.":"Crea un file di testo assieme a ogni immagine con i parametri di generazione.",
"Create a text file next to every image with generation parameters.":"Crea un file di testo assieme a ogni immagine con i parametri di generazione.",
"Save a copy of image before doing face restoration.":"Salva una copia dell'immagine prima di eseguire il restauro dei volti.",
"Save a copy of image before doing face restoration.":"Salva una copia dell'immagine prima di eseguire il restauro dei volti.",
"Save a copy of image before applying highres fix.":"Salva una copia dell'immagine prima di applicare la correzione ad alta risoluzione.",
"Save a copy of image before applying color correction to img2img results":"Salva una copia dell'immagine prima di applicare la correzione del colore ai risultati di img2img",
"Quality for saved jpeg images":"Qualità delle immagini salvate in formato JPEG",
"Quality for saved jpeg images":"Qualità delle immagini salvate in formato JPEG",
"If PNG image is larger than 4MB or any dimension is larger than 4000, downscale and save copy as JPG":"Se l'immagine PNG è più grande di 4 MB o qualsiasi dimensione è maggiore di 4000, ridimensiona e salva la copia come JPG",
"If PNG image is larger than 4MB or any dimension is larger than 4000, downscale and save copy as JPG":"Se l'immagine PNG è più grande di 4 MB o qualsiasi dimensione è maggiore di 4000, ridimensiona e salva la copia come JPG",
"Use original name for output filename during batch process in extras tab":"Usa il nome originale per il nome del file di output durante l'elaborazione a lotti nella scheda 'Extra'",
"Use original name for output filename during batch process in extras tab":"Usa il nome originale per il nome del file di output durante l'elaborazione a lotti nella scheda 'Extra'",
...
@@ -997,12 +1011,14 @@
...
@@ -997,12 +1011,14 @@
"Filename join string":"Stringa per unire le parole estratte dal nome del file",
"Filename join string":"Stringa per unire le parole estratte dal nome del file",
"Number of repeats for a single input image per epoch; used only for displaying epoch number":"Numero di ripetizioni per una singola immagine di input per epoca; utilizzato solo per visualizzare il numero di epoca",
"Number of repeats for a single input image per epoch; used only for displaying epoch number":"Numero di ripetizioni per una singola immagine di input per epoca; utilizzato solo per visualizzare il numero di epoca",
"Save an csv containing the loss to log directory every N steps, 0 to disable":"Salva un file CSV contenente la perdita nella cartella di registrazione ogni N passaggi, 0 per disabilitare",
"Save an csv containing the loss to log directory every N steps, 0 to disable":"Salva un file CSV contenente la perdita nella cartella di registrazione ogni N passaggi, 0 per disabilitare",
"Use cross attention optimizations while training":"Usa le ottimizzazioni di controllo dell'attenzione incrociato durante l'allenamento",
"Stable Diffusion":"Stable Diffusion",
"Stable Diffusion":"Stable Diffusion",
"Checkpoints to cache in RAM":"Checkpoint da memorizzare nella RAM",
"Checkpoints to cache in RAM":"Checkpoint da memorizzare nella RAM",
"SD VAE":"SD VAE",
"auto":"auto",
"Hypernetwork strength":"Forza della Iperrete",
"Hypernetwork strength":"Forza della Iperrete",
"Inpainting conditioning mask strength":"Forza della maschera di condizionamento del Inpainting",
"Inpainting conditioning mask strength":"Forza della maschera di condizionamento del Inpainting",
"Apply color correction to img2img results to match original colors.":"Applica la correzione del colore ai risultati di img2img in modo che corrispondano ai colori originali.",
"Apply color correction to img2img results to match original colors.":"Applica la correzione del colore ai risultati di img2img in modo che corrispondano ai colori originali.",
"Save a copy of image before applying color correction to img2img results":"Salva una copia dell'immagine prima di applicare la correzione del colore ai risultati di img2img",
"With img2img, do exactly the amount of steps the slider specifies (normally you'd do less with less denoising).":"Con img2img, esegue esattamente la quantità di passi specificata dalla barra di scorrimento (normalmente se ne effettuano di meno con meno riduzione del rumore).",
"With img2img, do exactly the amount of steps the slider specifies (normally you'd do less with less denoising).":"Con img2img, esegue esattamente la quantità di passi specificata dalla barra di scorrimento (normalmente se ne effettuano di meno con meno riduzione del rumore).",
"Enable quantization in K samplers for sharper and cleaner results. This may change existing seeds. Requires restart to apply.":"Abilita la quantizzazione nei campionatori K per risultati più nitidi e puliti. Questo può cambiare i semi esistenti. Richiede il riavvio per applicare la modifica.",
"Enable quantization in K samplers for sharper and cleaner results. This may change existing seeds. Requires restart to apply.":"Abilita la quantizzazione nei campionatori K per risultati più nitidi e puliti. Questo può cambiare i semi esistenti. Richiede il riavvio per applicare la modifica.",
"Emphasis: use (text) to make model pay more attention to text and [text] to make it pay less attention":"Enfasi: utilizzare (testo) per fare in modo che il modello presti maggiore attenzione al testo e [testo] per fargli prestare meno attenzione",
"Emphasis: use (text) to make model pay more attention to text and [text] to make it pay less attention":"Enfasi: utilizzare (testo) per fare in modo che il modello presti maggiore attenzione al testo e [testo] per fargli prestare meno attenzione",
"Add model hash to generation information":"생성 정보에 모델 해시 추가",
"Add model hash to generation information":"생성 정보에 모델 해시 추가",
"Add model name to generation information":"생성 정보에 모델 이름 추가",
"Add model name to generation information":"생성 정보에 모델 이름 추가",
"Add number to filename when saving":"이미지를 저장할 때 파일명에 숫자 추가하기",
"Add number to filename when saving":"이미지를 저장할 때 파일명에 숫자 추가하기",
"Adds a tab to the webui that allows the user to automatically extract keyframes from video, and manually extract 512x512 crops of those frames for use in model training.":"WebUI에 비디오로부터 자동으로 키프레임을 추출하고, 그 키프레임으로부터 모델 훈련에 사용될 512x512 이미지를 잘라낼 수 있는 탭을 추가합니다.",
"Aesthetic Gradients":"스타일 그라디언트",
"Aesthetic Gradients":"스타일 그라디언트",
"Aesthetic Image Scorer":"스타일 이미지 스코어러",
"Aesthetic Image Scorer":"스타일 이미지 스코어러",
"Aesthetic imgs embedding":"스타일 이미지 임베딩",
"Aesthetic imgs embedding":"스타일 이미지 임베딩",
...
@@ -260,6 +261,7 @@
...
@@ -260,6 +261,7 @@
"Keep -1 for seeds":"시드값 -1로 유지",
"Keep -1 for seeds":"시드값 -1로 유지",
"keep whatever was there originally":"이미지 원본 유지",
"keep whatever was there originally":"이미지 원본 유지",
"keyword":"프롬프트",
"keyword":"프롬프트",
"Krita Plugin.":"Kirta 플러그인입니다.",
"Label":"라벨",
"Label":"라벨",
"Lanczos":"Lanczos",
"Lanczos":"Lanczos",
"Last prompt:":"마지막 프롬프트 : ",
"Last prompt:":"마지막 프롬프트 : ",
...
@@ -441,8 +443,8 @@
...
@@ -441,8 +443,8 @@
"See":"자세한 설명은",
"See":"자세한 설명은",
"Seed":"시드",
"Seed":"시드",
"Seed of a different picture to be mixed into the generation.":"결과물에 섞일 다른 그림의 시드",
"Seed of a different picture to be mixed into the generation.":"결과물에 섞일 다른 그림의 시드",
"Select activation function of hypernetwork":"하이퍼네트워크 활성화 함수 선택",
"Select activation function of hypernetwork. Recommended : Swish / Linear(none)":"하이퍼네트워크 활성화 함수 선택 - 추천 : Swish / Linear(None)",
"Select Layer weights initialization. relu-like - Kaiming, sigmoid-like - Xavier is recommended":"레이어 가중치 초기화 방식 선택 - relu류 : Kaiming 추천, sigmoid류 : Xavier 추천",
"Select Layer weights initialization. Recommended: Kaiming for relu-like, Xavier for sigmoid-like, Normal otherwise":"레이어 가중치 초기화 방식 선택 - relu류 : Kaiming 추천, sigmoid류 : Xavier 추천, 그 외 : Normal",
"Select which Real-ESRGAN models to show in the web UI. (Requires restart)":"WebUI에 표시할 Real-ESRGAN 모델을 선택하십시오. (재시작 필요)",
"Select which Real-ESRGAN models to show in the web UI. (Requires restart)":"WebUI에 표시할 Real-ESRGAN 모델을 선택하십시오. (재시작 필요)",
"Send seed when sending prompt or image to other interface":"다른 화면으로 프롬프트나 이미지를 보낼 때 시드도 함께 보내기",
"Send seed when sending prompt or image to other interface":"다른 화면으로 프롬프트나 이미지를 보낼 때 시드도 함께 보내기",
"Send to extras":"부가기능으로 전송",
"Send to extras":"부가기능으로 전송",
...
@@ -458,7 +460,7 @@
...
@@ -458,7 +460,7 @@
"should be 2 or lower.":"이 2 이하여야 합니다.",
"should be 2 or lower.":"이 2 이하여야 합니다.",
"Show generation progress in window title.":"창 타이틀에 생성 진행도 보여주기",
"Show generation progress in window title.":"창 타이틀에 생성 진행도 보여주기",
"Show grid in results for web":"웹에서 결과창에 그리드 보여주기",
"Show grid in results for web":"웹에서 결과창에 그리드 보여주기",
"Show image creation progress every N sampling steps. Set 0 to disable.":"N번째 샘플링 스텝마다 이미지 생성 과정 보이기 - 비활성화하려면 0으로 설정",
"Show image creation progress every N sampling steps. Set to 0 to disable. Set to -1 to show after completion of batch.":"N번째 샘플링 스텝마다 이미지 생성 과정 보이기 - 비활성화하려면 0으로 설정, 배치 생성 완료시 보이려면 -1로 설정",
"Show images zoomed in by default in full page image viewer":"전체 페이지 이미지 뷰어에서 기본값으로 이미지 확대해서 보여주기",
"Show images zoomed in by default in full page image viewer":"전체 페이지 이미지 뷰어에서 기본값으로 이미지 확대해서 보여주기",
"Show previews of all images generated in a batch as a grid":"배치에서 생성된 모든 이미지의 미리보기를 그리드 형식으로 보여주기",
"Show previews of all images generated in a batch as a grid":"배치에서 생성된 모든 이미지의 미리보기를 그리드 형식으로 보여주기",
"This string will be used to join split words into a single line if the option above is enabled.":"Esta string será usada para unir palavras divididas em uma única linha se a opção acima estiver habilitada.",
"This string will be used to join split words into a single line if the option above is enabled.":"Esta string será usada para unir palavras divididas em uma única linha se a opção acima estiver habilitada.",
"Only applies to inpainting models. Determines how strongly to mask off the original image for inpainting and img2img. 1.0 means fully masked, which is the default behaviour. 0.0 means a fully unmasked conditioning. Lower values will help preserve the overall composition of the image, but will struggle with large changes.":"Aplicável somente para modelos de inpaint. Determina quanto deve mascarar da imagem original para inpaint e img2img. 1.0 significa totalmente mascarado, que é o comportamento padrão. 0.0 significa uma condição totalmente não mascarada. Valores baixos ajudam a preservar a composição geral da imagem, mas vai encontrar dificuldades com grandes mudanças.",
"Only applies to inpainting models. Determines how strongly to mask off the original image for inpainting and img2img. 1.0 means fully masked, which is the default behaviour. 0.0 means a fully unmasked conditioning. Lower values will help preserve the overall composition of the image, but will struggle with large changes.":"Aplicável somente para modelos de inpaint. Determina quanto deve mascarar da imagem original para inpaint e img2img. 1.0 significa totalmente mascarado, que é o comportamento padrão. 0.0 significa uma condição totalmente não mascarada. Valores baixos ajudam a preservar a composição geral da imagem, mas vai encontrar dificuldades com grandes mudanças.",
"List of setting names, separated by commas, for settings that should go to the quick access bar at the top, rather than the usual setting tab. See modules/shared.py for setting names. Requires restarting to apply.":"Lista de nomes de configurações, separados por vírgulas, para configurações que devem ir para a barra de acesso rápido na parte superior, em vez da guia de configuração usual. Veja modules/shared.py para nomes de configuração. Necessita reinicialização para aplicar.",
"List of setting names, separated by commas, for settings that should go to the quick access bar at the top, rather than the usual setting tab. See modules/shared.py for setting names. Requires restarting to apply.":"Lista de nomes de configurações, separados por vírgulas, para configurações que devem ir para a barra de acesso rápido na parte superior, em vez da guia de configuração usual. Veja modules/shared.py para nomes de configuração. Necessita reinicialização para aplicar.",
"If this values is non-zero, it will be added to seed and used to initialize RNG for noises when using samplers with Eta. You can use this to produce even more variation of images, or you can use this to match images of other software if you know what you are doing.":"Se este valor for diferente de zero, ele será adicionado à seed e usado para inicializar o RNG para ruídos ao usar amostragens com Tempo Estimado. Você pode usar isso para produzir ainda mais variações de imagens ou pode usar isso para combinar imagens de outro software se souber o que está fazendo."
"If this values is non-zero, it will be added to seed and used to initialize RNG for noises when using samplers with Eta. You can use this to produce even more variation of images, or you can use this to match images of other software if you know what you are doing.":"Se este valor for diferente de zero, ele será adicionado à seed e usado para inicializar o RNG para ruídos ao usar amostragens com Tempo Estimado. Você pode usar isso para produzir ainda mais variações de imagens ou pode usar isso para combinar imagens de outro software se souber o que está fazendo.",
"Leave empty for auto":"Deixar desmarcado para automático"
"Leave empty for auto":"Deixar desmarcado para automático"
images:list[str]=Field(default=None,title="Image",description="The generated image in base64 format.")
images:List[str]=Field(default=None,title="Image",description="The generated image in base64 format.")
parameters:dict
parameters:dict
info:str
info:str
classImageToImageResponse(BaseModel):
classImageToImageResponse(BaseModel):
images:list[str]=Field(default=None,title="Image",description="The generated image in base64 format.")
images:List[str]=Field(default=None,title="Image",description="The generated image in base64 format.")
parameters:dict
parameters:dict
info:str
info:str
...
@@ -131,6 +131,7 @@ class ExtrasBaseRequest(BaseModel):
...
@@ -131,6 +131,7 @@ class ExtrasBaseRequest(BaseModel):
upscaler_1:str=Field(default="None",title="Main upscaler",description=f"The name of the main upscaler to use, it has to be one of this list: {' , '.join([x.name for x in sd_upscalers])}")
upscaler_1:str=Field(default="None",title="Main upscaler",description=f"The name of the main upscaler to use, it has to be one of this list: {' , '.join([x.name for x in sd_upscalers])}")
upscaler_2:str=Field(default="None",title="Secondary upscaler",description=f"The name of the secondary upscaler to use, it has to be one of this list: {' , '.join([x.name for x in sd_upscalers])}")
upscaler_2:str=Field(default="None",title="Secondary upscaler",description=f"The name of the secondary upscaler to use, it has to be one of this list: {' , '.join([x.name for x in sd_upscalers])}")
extras_upscaler_2_visibility:float=Field(default=0,title="Secondary upscaler visibility",ge=0,le=1,allow_inf_nan=False,description="Sets the visibility of secondary upscaler, values should be between 0 and 1.")
extras_upscaler_2_visibility:float=Field(default=0,title="Secondary upscaler visibility",ge=0,le=1,allow_inf_nan=False,description="Sets the visibility of secondary upscaler, values should be between 0 and 1.")
upscale_first:bool=Field(default=False,title="Upscale first",description="Should the upscaler run before restoring faces?")
classExtraBaseResponse(BaseModel):
classExtraBaseResponse(BaseModel):
html_info:str=Field(title="HTML info",description="A series of HTML tags containing the process info.")
html_info:str=Field(title="HTML info",description="A series of HTML tags containing the process info.")
...
@@ -146,10 +147,10 @@ class FileData(BaseModel):
...
@@ -146,10 +147,10 @@ class FileData(BaseModel):
name:str=Field(title="File name")
name:str=Field(title="File name")
classExtrasBatchImagesRequest(ExtrasBaseRequest):
classExtrasBatchImagesRequest(ExtrasBaseRequest):
imageList:list[FileData]=Field(title="Images",description="List of images to work on. Must be Base64 strings")
imageList:List[FileData]=Field(title="Images",description="List of images to work on. Must be Base64 strings")
@@ -165,3 +166,68 @@ class ProgressResponse(BaseModel):
...
@@ -165,3 +166,68 @@ class ProgressResponse(BaseModel):
eta_relative:float=Field(title="ETA in secs")
eta_relative:float=Field(title="ETA in secs")
state:dict=Field(title="State",description="The current state snapshot")
state:dict=Field(title="State",description="The current state snapshot")
current_image:str=Field(default=None,title="Current image",description="The current image in base64 format. opts.show_progress_every_n_steps is required for this to work.")
current_image:str=Field(default=None,title="Current image",description="The current image in base64 format. opts.show_progress_every_n_steps is required for this to work.")
@@ -44,6 +44,7 @@ parser.add_argument("--precision", type=str, help="evaluate at this precision",
...
@@ -44,6 +44,7 @@ parser.add_argument("--precision", type=str, help="evaluate at this precision",
parser.add_argument("--share",action='store_true',help="use share=True for gradio and make the UI accessible through their site")
parser.add_argument("--share",action='store_true',help="use share=True for gradio and make the UI accessible through their site")
parser.add_argument("--ngrok",type=str,help="ngrok authtoken, alternative to gradio --share",default=None)
parser.add_argument("--ngrok",type=str,help="ngrok authtoken, alternative to gradio --share",default=None)
parser.add_argument("--ngrok-region",type=str,help="The region in which ngrok should start.",default="us")
parser.add_argument("--ngrok-region",type=str,help="The region in which ngrok should start.",default="us")
parser.add_argument("--enable-insecure-extension-access",action='store_true',help="enable extensions tab regardless of other options")
parser.add_argument("--codeformer-models-path",type=str,help="Path to directory with codeformer model file(s).",default=os.path.join(models_path,'Codeformer'))
parser.add_argument("--codeformer-models-path",type=str,help="Path to directory with codeformer model file(s).",default=os.path.join(models_path,'Codeformer'))
parser.add_argument("--gfpgan-models-path",type=str,help="Path to directory with GFPGAN model file(s).",default=os.path.join(models_path,'GFPGAN'))
parser.add_argument("--gfpgan-models-path",type=str,help="Path to directory with GFPGAN model file(s).",default=os.path.join(models_path,'GFPGAN'))
parser.add_argument("--esrgan-models-path",type=str,help="Path to directory with ESRGAN model file(s).",default=os.path.join(models_path,'ESRGAN'))
parser.add_argument("--esrgan-models-path",type=str,help="Path to directory with ESRGAN model file(s).",default=os.path.join(models_path,'ESRGAN'))
"show_progress_every_n_steps":OptionInfo(0,"Show image creation progress every N sampling steps. Set 0 to disable.",gr.Slider,{"minimum":0,"maximum":32,"step":1}),
"show_progress_every_n_steps":OptionInfo(0,"Show image creation progress every N sampling steps. Set to 0 to disable. Set to -1 to show after completion of batch.",gr.Slider,{"minimum":-1,"maximum":32,"step":1}),
"show_progress_grid":OptionInfo(True,"Show previews of all images generated in a batch as a grid"),
"show_progress_grid":OptionInfo(True,"Show previews of all images generated in a batch as a grid"),
"return_grid":OptionInfo(True,"Show grid in results for web"),
"return_grid":OptionInfo(True,"Show grid in results for web"),
"do_not_show_images":OptionInfo(False,"Do not show any images in results for web"),
"do_not_show_images":OptionInfo(False,"Do not show any images in results for web"),
...
@@ -396,6 +404,15 @@ class Options:
...
@@ -396,6 +404,15 @@ class Options:
def__setattr__(self,key,value):
def__setattr__(self,key,value):
ifself.dataisnotNone:
ifself.dataisnotNone:
ifkeyinself.dataorkeyinself.data_labels:
ifkeyinself.dataorkeyinself.data_labels:
assertnotcmd_opts.freeze_settings,"changing settings is disabled"
new_hypernetwork_layer_structure=gr.Textbox("1, 2, 1",label="Enter hypernetwork layer structure",placeholder="1st and last digit must be 1. ex:'1, 2, 1'")
new_hypernetwork_layer_structure=gr.Textbox("1, 2, 1",label="Enter hypernetwork layer structure",placeholder="1st and last digit must be 1. ex:'1, 2, 1'")
new_hypernetwork_activation_func=gr.Dropdown(value="linear",label="Select activation function of hypernetwork",choices=modules.hypernetworks.ui.keys)
new_hypernetwork_activation_func=gr.Dropdown(value="linear",label="Select activation function of hypernetwork. Recommended : Swish / Linear(none)",choices=modules.hypernetworks.ui.keys)
new_hypernetwork_initialization_option=gr.Dropdown(value="Normal",label="Select Layer weights initialization. Recommended: Kaiming for relu-like, Xavier for sigmoid-like, Normal otherwise",choices=["Normal","KaimingUniform","KaimingNormal","XavierUniform","XavierNormal"])
assertcomp==dummy_componentoropts.same_type(value,opts.data_labels[key].default),f"Bad value for setting {key}: {value}; expecting {type(opts.data_labels[key].default).__name__}"
returnf"Bad value for setting {key}: {value}; expecting {type(opts.data_labels[key].default).__name__}",opts.dumpjson()