lllyasviel / Paints-UNDO

Understand Human Behavior to Align True Needs
Apache License 2.0
3.25k stars 287 forks source link

It's not opening at http://0.0.0.0:7860 but getting this #62

Open oly1kenobi opened 1 month ago

oly1kenobi commented 1 month ago

C:\Users\droly\Paints-UNDO>python gradio_app.py A matching Triton is not available, some optimizations will not be enabled Traceback (most recent call last): File "C:\Users\droly\miniconda3\envs\paints_undo\lib\site-packages\xformers__init__.py", line 55, in _is_triton_available from xformers.triton.softmax import softmax as triton_softmax # noqa File "C:\Users\droly\miniconda3\envs\paints_undo\lib\site-packages\xformers\triton\softmax.py", line 14, in from xformers.triton.k_softmax import _softmax, _softmax_backward File "C:\Users\droly\miniconda3\envs\paints_undo\lib\site-packages\xformers\triton\k_softmax.py", line 8, in import triton.language as tl ModuleNotFoundError: No module named 'triton.language' The config attributes {'shift_factor': None, 'use_post_quant_conv': True, 'use_quant_conv': True} were passed to AutoencoderKL, but are not expected and will be ignored. Please verify your config.json configuration file. Fetching 19 files: 100%|███████████████████████████████████████████████████████████████████████| 19/19 [00:00<?, ?it/s] Loading weights from local directory Loading weights from local directory Loading weights from local directory Unload to CPU: ModifiedUNet Unload to CPU: CLIPTextModel Unload to CPU: CLIPTextModel Unload to CPU: UNet3DModel Unload to CPU: VideoAutoencoderKL Unload to CPU: ImprovedCLIPVisionModelWithProjection Unload to CPU: Resampler Unload to CPU: AutoencoderKL C:\Users\droly\Paints-UNDO\diffusers_helper\k_diffusion.py:43: UserWarning: To copy construct from a tensor, it is recommended to use sourceTensor.clone().detach() or sourceTensor.clone().detach().requiresgrad(True), rather than torch.tensor(sourceTensor). alphas_cumprod = torch.tensor(np.cumprod(alphas, axis=0), dtype=torch.float32) Running on local URL: http://0.0.0.0:7860

To create a public link, set share=True in launch().

barepixels commented 1 month ago

For me, I edit near last line of gradio_app.py

to block.queue().launch(server_name='127.0.0.1')

packetlost commented 1 month ago

For me, I edit near last line of gradio_app.py

to block.queue().launch(server_name='127.0.0.1')

For the win!

oly1kenobi commented 1 month ago

For me, I edit near last line of gradio_app.py

to block.queue().launch(server_name='127.0.0.1')

Thanks, but where would I edit that? NEWB here Thanks

packetlost commented 1 month ago

gradio_app.py

That file is in your program directory. Edit gradio_app.py with Notepad and scroll to the bottom. Highlight the entire last line and paste the corrected line.

Its-Endless commented 1 month ago

You can just change the http in the browser from http://0.0.0.0:7860 to http://127.0.0.1:7860