PRIS-CV / DemoFusion

Let us democratise high-resolution generation! (CVPR 2024)

Home Page:https://ruoyidu.github.io/demofusion/demofusion.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

wrong server ip for gradio demo and no gradio installed

Zdeto opened this issue · comments

Hi :)
I tried to run locally the gradio_demo.py and run into some errors.
ModuleNotFoundError: No module named 'gradio'

So I had to activate the venv and manually install gradio.

Then when I run again:
ERROR: [Errno 10049] error while attempting to bind on address ('114.113.235.51', 8890): the requested address is not valid in its context

And I had to edit the py file and change the server address to 127.0.0.1 and it run. I still get this:
Error caught was: No module named 'triton'
but it seems to work now :)

Hi @Zdeto, thanks for reminding us! I tested the demo on a remote device and forgot to set the ip to default. I have fixed this issue.