Mr_Ricky

Results 7 comments of Mr_Ricky

补充一句:我输出期待的是26个视频,实际只有14个,如图: ![image](https://user-images.githubusercontent.com/26374477/167242569-5d87555a-0dbe-4ee4-aa98-9cae31cc5cba.png)

> 看一下你的apache配置文件呢。/etc/apache2/sites-available/sd_multi.conf;以及你活跃一下你的virtual env,然后运行python3,import django试看不能成功 Message ID: ***@* **.***> ![image](https://github.com/wolverinn/stable-diffusion-multi-user/assets/26374477/6e0afa25-65db-4ac8-8c7c-2147cdb926bf) 试了下,是可以的

配置文件如下: ![image](https://github.com/wolverinn/stable-diffusion-multi-user/assets/26374477/c7e88d09-6e4c-49cd-b16e-ba474975d618)

@wolverinn 可以帮忙看看这个问题吗?找了好久都没有找到为什么会这样的错误

> 你用的是哪个云平台?如果是GPU云服务器而不是GPU服务器的话,可以直接不使用venv,将pip依靠直接安装测试,然后把conf里最后一步注解掉,重新启动apache 那我试试,我是自己的GPU服务器,不是云服务器,你的意思是我直接pip install -r requirements.txt是吧?

> 好的,我试一下

我直接去run它,貌似在请求的时候会报404, ![image](https://github.com/wolverinn/stable-diffusion-multi-user/assets/26374477/3cd74215-4936-4dda-8199-b219dd618011) ![image](https://github.com/wolverinn/stable-diffusion-multi-user/assets/26374477/7d75e240-af8e-47b1-8f00-1920f1e4c60c) 另外,我这是在虚拟机中,我发现运行会运行在127.0.0.1上,请问如何运行在0.0.0.0上,这样我才能从外部访问