We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
在config.json中设置了midjourney_temp_folder:"./tmp"后,./tmp文件夹不在gradio的allowed_paths中,导致聊天记录中图片均403。 在config.json中设置了midjourney_temp_folder:"./other_folder"后,midjourney生成的图片仍然下载至./tmp文件夹中。 相关代码: https://github.com/GaiZhenbiao/ChuanhuChatGPT/blob/fccd3de495e1b2184d49ca4c1c353dc10fc2eb3e/ChuanhuChatbot.py#L814 https://github.com/GaiZhenbiao/ChuanhuChatGPT/blob/fccd3de495e1b2184d49ca4c1c353dc10fc2eb3e/modules/models/midjourney.py#L58
1.正常完成部署并配置好midjourney相关配置和环境 2.选取midjourney模型 3.在对话框中填写/mj 任意描述话语 并发送 4.程序返回的图片均不能显示,控制台报错403
No response
The text was updated successfully, but these errors were encountered:
No branches or pull requests
这个bug是否已存在现有issue了?
错误表现
在config.json中设置了midjourney_temp_folder:"./tmp"后,./tmp文件夹不在gradio的allowed_paths中,导致聊天记录中图片均403。
在config.json中设置了midjourney_temp_folder:"./other_folder"后,midjourney生成的图片仍然下载至./tmp文件夹中。
相关代码:
https://github.com/GaiZhenbiao/ChuanhuChatGPT/blob/fccd3de495e1b2184d49ca4c1c353dc10fc2eb3e/ChuanhuChatbot.py#L814
https://github.com/GaiZhenbiao/ChuanhuChatGPT/blob/fccd3de495e1b2184d49ca4c1c353dc10fc2eb3e/modules/models/midjourney.py#L58
复现操作
1.正常完成部署并配置好midjourney相关配置和环境
2.选取midjourney模型
3.在对话框中填写/mj 任意描述话语 并发送
4.程序返回的图片均不能显示,控制台报错403
错误日志
No response
运行环境
帮助解决
补充说明
No response
The text was updated successfully, but these errors were encountered: