-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
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
Sample code doesn't seem to work #13
Comments
I can't get the CLI example to work either, did the API change? |
seems to work if I remove the code that adds classifier parameters Probably related to this change to the protobufs: Stability-AI/api-interfaces@d1c74bc |
Possibly better workaround, pinning the version of api-interfaces: diff --git a/package.json b/package.json
index a3cde84..3fde94c 100644
--- a/package.json
+++ b/package.json
@@ -43,7 +43,7 @@
"process": "^0.11.10",
"rimraf": "^3.0.2",
"source-map-loader": "^4.0.0",
- "stability-sdk": "Stability-AI/api-interfaces",
+ "stability-sdk": "Stability-AI/api-interfaces#1363356",
"ts-loader": "^9.3.1",
"typescript": "^4.8.2",
"webpack": "^5.74.0", |
@jakiestfu any chance to publish this fix to NPM soon? |
I made the change in the package.json, but I still get the same message. Any recommendation (I'm using Next.js) |
To clarify, you would need to modify the package.json for this module and then somehow include the modified version in your larger project. I had trouble getting that to work without publishing to npm, so my fork is published as https://www.npmjs.com/package/stability-client with this and a few other improvements |
Thank you @vpzomtrrfrt, your fork is awesome! |
Using the sample code from the README returns an error:
The text was updated successfully, but these errors were encountered: