bananaml / demo-automatic1111-sd-webui Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
When I deployed the project to banana and send the post request to https://xxxx.run.banana.dev/txt2img, it responsed:
An error occured. Type: PotassiumError StatusCode: 500 Message: Traceback (most recent call last): File "/opt/conda/lib/python3.8/site-packages/potassium/potassium.py", line 114, in _handle_generic out = endpoint.func(req) File "/opt/conda/lib/python3.8/site-packages/potassium/potassium.py", line 67, in wrapper out = func(self._context, request) File "<string>", line 100, in handler TypeError: 'NoneType' object is not subscriptable
The payload of the request is
{ "params": { "prompt": "a cute dog", "negative_prompt": "low quality", "steps": 25, "sampler_name": "Euler a", "cfg_scale": 7.5, "seed": 42, "batch_size": 1, "n_iter": 1, "width": 400, "height": 400, "tiling": "false" } }
how to fix it?
ERROR: Encountered an error healthchecking your source code
��------
��Starting Potassium Server 🍌
��Running init()
�WLoading weights [8f2082e149] from /app/webui/models/Stable-diffusion/model.safetensors
�ACreating model from config: /app/webui/configs/v1-inference.yaml
�0LatentDiffusion: Running in eps-prediction mode
�&DiffusionWrapper has 859.52 M params.
�2Applying cross attention optimization (Doggettx).
�)Textual inversion embeddings loaded(0):
��Model loaded in 1.9s (create model: 0.4s, apply weights to model: 0.2s, apply half(): 0.2s, load VAE: 0.9s, move model to device: 0.3s).
�#Traceback (most recent call last):
�' File "app.py", line 134, in <module>
�� app.serve()
�[ File "/opt/conda/lib/python3.8/site-packages/potassium/potassium.py", line 209, in serve
�� self._init_func()
�\ File "/opt/conda/lib/python3.8/site-packages/potassium/potassium.py", line 60, in wrapper
�A raise Exception("Potassium init() must return a dictionary")
�5Exception: Potassium init() must return a dictionary
INTERNAL ERROR: Build server encountered an unexpected error
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.