Comments (5)
Annoying. Looks like dalle have updated the way their api works in a recent version of their python package. I'll see what I can do.
from pycasso.
Dalle have changed a bit in how to use their script with release 1.0 of their API script so it doesn't work even with removal of errors:
You tried to access openai.Image, but this is no longer supported in openai>=1.0.0 - see the README at https://github.com/openai/openai-python for the API.
You can run `openai migrate` to automatically upgrade your codebase to use the 1.0.0 interface.
Alternatively, you can pin your installation to the old version, e.g. `pip install openai==0.28`
A detailed migration guide is available here: https://github.com/openai/openai-python/discussions/742
We can hopefully fix this up with that migration guide
from pycasso.
Alright I've got this working locally with the latest version of openai. Try using bash <(curl https://raw.githubusercontent.com/jezs00/pycasso/main/setup.sh)
to update pycasso and let us know how it goes.
from pycasso.
Oh my god, it´s working.
Thank you so much!
You are a genius :)
I was struggeling for weeks and you did it in one night...
Thanks a lot from Germany - now i can play with the image size and colors...
I love this project!
Cheers ,
Henning
from pycasso.
Ah. Ich lerne Deutsch. Es ist ein Problem, das schwer zu lösen ist, wann man hat Openai API noch nicht benutzt. Es ist leichter wann man hat Erfahrung in dieser Code. Sie waren nur unglücklich mit dem erste von dieser Problem. Viel glück.
Ich werde dieses Problem schließen.
Closing problem as solved
from pycasso.
Related Issues (20)
- ModuleNotFoundError: No module named 'piblo' HOT 21
- Configuration Migrator
- Update Readme
- Installation on RasPi Zero GRPCIO fix not working HOT 1
- Rotating screen to portrait HOT 9
- Saved images are original 512x512 rather than in-filled picture HOT 5
- "Multiple" image on resultant .png file HOT 2
- A few minor things and a thank you - Bash script pycasso install HOT 14
- Fix up stable diffusion provider
- Add negative prompts for stable API
- New: Text read from file rather than image prompt HOT 4
- Override text wrapping HOT 1
- TFT-Screen HOT 1
- Don't post image to socials if it's the test image
- Error Building wheel for Pillow (PEP 517) HOT 2
- Generated images not working, test mode not working; External images working HOT 5
- ModuleNotFoundError: No module named 'piblo' on install HOT 1
- multiple generation lines HOT 4
- Idea for prompt HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pycasso.