mirror of
https://github.com/easydiffusion/easydiffusion.git
synced 2025-08-15 10:49:44 +02:00
webui: logging changes
This commit is contained in:
@ -349,7 +349,9 @@ def get_env():
|
|||||||
"PIP_INSTALLER_LOCATION": [], # [f"{dir}/python/get-pip.py"],
|
"PIP_INSTALLER_LOCATION": [], # [f"{dir}/python/get-pip.py"],
|
||||||
"TRANSFORMERS_CACHE": [f"{dir}/transformers-cache"],
|
"TRANSFORMERS_CACHE": [f"{dir}/transformers-cache"],
|
||||||
"HF_HUB_DISABLE_SYMLINKS_WARNING": ["true"],
|
"HF_HUB_DISABLE_SYMLINKS_WARNING": ["true"],
|
||||||
"COMMANDLINE_ARGS": [f'--api --models-dir "{models_dir}" {model_path_args} --skip-torch-cuda-test'],
|
"COMMANDLINE_ARGS": [
|
||||||
|
f'--api --models-dir "{models_dir}" {model_path_args} --skip-torch-cuda-test --disable-gpu-warning'
|
||||||
|
],
|
||||||
"SKIP_VENV": ["1"],
|
"SKIP_VENV": ["1"],
|
||||||
"SD_WEBUI_RESTARTING": ["1"],
|
"SD_WEBUI_RESTARTING": ["1"],
|
||||||
}
|
}
|
||||||
|
@ -253,7 +253,7 @@ def generate_images(
|
|||||||
res = res.json()
|
res = res.json()
|
||||||
else:
|
else:
|
||||||
raise Exception(
|
raise Exception(
|
||||||
"The engine failed while generating this image. Please check the logs in the command-line window for more details."
|
f"HTTP Status {res.status_code}. The engine failed while generating this image. Please check the logs in the command-line window for more details."
|
||||||
)
|
)
|
||||||
|
|
||||||
import json
|
import json
|
||||||
|
Reference in New Issue
Block a user