Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update ui.py #109

Merged
merged 1 commit into from
Sep 5, 2023
Merged

Update ui.py #109

merged 1 commit into from
Sep 5, 2023

Conversation

alexbofa
Copy link
Contributor

I fixed that problem:
ImportError: cannot import name 'wrap_gradio_gpu_call' from 'webui'

Signed-off-by: alexbofa <58225118+alexbofa@users.noreply.github.com>
@jlitz
Copy link

jlitz commented Aug 31, 2023

I am getting the error

Launching Web UI with arguments: --xformers
*** Error loading script: infinite-zoom.py
Traceback (most recent call last):
File "D:\A1112\stable-diffusion-webui\modules\scripts.py", line 382, in load_scripts
script_module = script_loading.load_module(scriptfile.path)
File "D:\A1112\stable-diffusion-webui\modules\script_loading.py", line 10, in load_module
module_spec.loader.exec_module(module)
File "", line 883, in exec_module
File "", line 241, in _call_with_frames_removed
File "D:\A1112\stable-diffusion-webui\extensions\infinite-zoom-automatic1111-webui\scripts\infinite-zoom.py", line 2, in
from iz_helpers.ui import on_ui_tabs
File "D:\A1112\stable-diffusion-webui\extensions\infinite-zoom-automatic1111-webui\iz_helpers\ui.py", line 4, in
from webui import wrap_gradio_gpu_call
ImportError: cannot import name 'wrap_gradio_gpu_call' from 'webui' (D:\A1112\stable-diffusion-webui\webui.py

I deleted and reinstalled but same

@alexbofa
Copy link
Contributor Author

alexbofa commented Sep 1, 2023

Я получаю сообщение об ошибке

Запуск веб-интерфейса с аргументами: --xformers *** Ошибка загрузки скрипта: Infinite-zoom.py Traceback (последний вызов): файл "D:\A1112\stable-diffusion-webui\modules\scripts.py", строка 382, в load_scripts script_module = script_loading.load_module(scriptfile.path) Файл "D:\A1112\stable-diffusion-webui\modules\script_loading.py", строка 10, в файле load_module Module_spec.loader.exec_module(module) "" , строка 883, в файле exec_module "", строка 241, в _call_with_frames_removed Файл "D:\A1112\stable-diffusion-webui\extensions\infinite-zoom-automatic1111-webui\scripts\infinite-zoom.py", строка 2, из iz_helpers.ui, импорт on_ui_tabs Файл «D:\A1112\stable-diffusion-webui\extensions\infinite-zoom-automatic1111-webui\iz_helpers\ui.py», строка 4, из импорта webui Wrap_gradio_gpu_call ImportError: невозможно импортировать имя «wrap_gradio_gpu_call» из «webui» (D:\A1112\stable-diffusion-webui\webui.py

Я удалил и переустановил, но то же самое

My fix has not been approved yet, you need to manually download this file yourself.

@alexbofa alexbofa mentioned this pull request Sep 1, 2023
@v8hid
Copy link
Owner

v8hid commented Sep 5, 2023

@alexbofa thanks for the fix.

@v8hid v8hid merged commit 358c7e9 into v8hid:main Sep 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants