Git Product home page Git Product logo

Comments (5)

cdpurchase1 avatar cdpurchase1 commented on June 1, 2024

报错信息
[2023-06-21 17:36:55,815] ERROR in app: Exception on /api/create [POST]
Traceback (most recent call last):
File "D:\SD\SDF\sdweb-multi-user-website\sdweb-server\ai8-env\lib\site-packages\flask\app.py", line 2528, in wsgi_app
response = self.full_dispatch_request()
File "D:\SD\SDF\sdweb-multi-user-website\sdweb-server\ai8-env\lib\site-packages\flask\app.py", line 1825, in full_dispatch_request
rv = self.handle_user_exception(e)
File "D:\SD\SDF\sdweb-multi-user-website\sdweb-server\ai8-env\lib\site-packages\flask\app.py", line 1823, in full_dispatch_request
rv = self.dispatch_request()
File "D:\SD\SDF\sdweb-multi-user-website\sdweb-server\ai8-env\lib\site-packages\flask\app.py", line 1799, in dispatch_request
return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
File "D:\SD\SDF\sdweb-multi-user-website\sdweb-server\api\stablediffusion.py", line 97, in create
hires_upscale = info["extra_generation_params"]["Hires upscale"]
KeyError: 'Hires upscale'
127.0.0.1 - - [2023-06-21 17:36:55] "POST /api/create HTTP/1.1" 500 401 2.881064
/api/process
ltsmSxm8rBTzMZslgGm8RdheQzOZl9SSGrDX17IcGeJcyPM139QeKfgsabneBXGEkTaszvItfwxx7JWRV/RAKg==
127.0.0.1 - - [2023-06-21 17:36:55] "POST /api/process HTTP/1.1" 200 461 0.051609

在远程stable diffusion有看到api请求,但进度条跑完之后,就提示“创建绘画失败,可能相关图画描述及种子图已存在,请查看历史生成图”

from online-stable-diffusion.

onlinedear avatar onlinedear commented on June 1, 2024

感觉作者好久不关注这个项目了 很可惜 多么好的一个项目

from online-stable-diffusion.

newlxj avatar newlxj commented on June 1, 2024

不好意思,最近有点忙,这个应该是最开始防止用户一直生成同一个图片出现攻击做了一个限制,这个可以在保存图片时给图片增加一个随机数解决,每次生成时给数据库插入主键时,如果主键冲突就会提示这个

from online-stable-diffusion.

newlxj avatar newlxj commented on June 1, 2024

感觉作者好久不关注这个项目了 很可惜 多么好的一个项目

抱歉,这几天没上来看,也可以QQ群找到我留言

from online-stable-diffusion.

newlxj avatar newlxj commented on June 1, 2024

你这个我本地验证了一下,只有两种情况
1.种子重复了,你可以自己去补充随机数避免想通种子重复
2.sd报错了导致前端显示这个错误。

from online-stable-diffusion.

Related Issues (7)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.