PRIS-CV / DemoFusion

Let us democratise high-resolution generation! (CVPR 2024)
https://ruoyidu.github.io/demofusion/demofusion.html
1.98k stars 229 forks source link

wrong server ip for gradio demo and no gradio installed #8

Closed Zdeto closed 11 months ago

Zdeto commented 11 months ago

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 :)

RuoyiDu commented 11 months ago

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.