Comments (13)
ooh that's cool, didn't know you could do that!
from clip-interrogator-ext.
Hey @MeinDeutschkurs, are you making progress on the the API integration ? I am thinking of doing the same.
I watched yesterday some videos about FastAPI and grado. It‘s amazing, how Interfaces and endpoints can be knitted with it. At the weekend I try to combine all my local models with it.
As mentioned, I love the queue system. Who knows, maybe I‘m then able to understand the above code. I don‘t want to exclude it. But first I have to understand all of this.
from clip-interrogator-ext.
Working on it and will make a pull request soon.
Is there a rule/convention for naming an extension api endpoint ?
For now I went with /interrogator/models
and /interrogator/analyze
from clip-interrogator-ext.
I went for the /interrogator/* path since the internal one is exposed via /sdapi/v1/interrogate
from clip-interrogator-ext.
Oh that API is using the version of CLIP Interrogator that is builtin to stable-diffusion-webui and doesn't have all the modes of the extension. You can use the CLIP Interrogator library directly from https://github.com/pharmapsychotic/clip-interrogator if you are writing scripts and want to generate prompts.
from clip-interrogator-ext.
I see, the API endpoint has nothing to do with your extension. If so, sorry for the mix up. So, I should use the command line version.
I will loose the queue, but I‘ll try it. Thx.
from clip-interrogator-ext.
@pharmapsychotic , according to AUTOMATIC1111/stable-diffusion-webui#11190 (comment) I'd suggest/want to ask to make the extension available through API. That would be fantastic.
from clip-interrogator-ext.
Yeah that rocks! The big advantage is the queue, which is on board with all the other tasks. That's amazing and for sure an enhancement! WOOHOO!
from clip-interrogator-ext.
Hey @MeinDeutschkurs, are you making progress on the the API integration ? I am thinking of doing the same.
from clip-interrogator-ext.
Hey @MeinDeutschkurs, are you making progress on the the API integration ? I am thinking of doing the same.
I was asking for doing this. I'm not a programmer, I'm keen to test and play.
from clip-interrogator-ext.
Working on it and will make a pull request soon. Is there a rule/convention for naming an extension api endpoint ?
For now I went with
/interrogator/models
and/interrogator/analyze
That is amazing! Thank you so much for your efforts!!! At the weekend I was able to get in touch with python and FastAPI. I came not that far, I'm scratching on the very top of the ice-plate. I have no idea about conventions, but maybe /clip-interrogator-ext/models
and /clip-interrogator-ext/analyse
makes sense, to avoid mixing it up with the stock-one (as happened to me as I created the initial post).
from clip-interrogator-ext.
Thanks for the PR this will be great!
from clip-interrogator-ext.
Thank you so much! That's awesome! I did the update through webui and I can't wait to test it later that day! 👏👏👏👏
from clip-interrogator-ext.
Related Issues (20)
- Easy way to locate and delete the CLIP models? HOT 1
- No Interrogator Tab HOT 1
- throws Exception <class 'RuntimeError'> error HOT 11
- Are you interested in developing extensions for ComfyUI?
- TypeError: Config.__init__() got an unexpected keyword argument 'blip_model' HOT 1
- Bug for WebUI 1.6.0 HOT 6
- please,I encountered trouble during insttallation. HOT 2
- Can I delete these files?
- Widely differing results between clip-interrogator-ext vs other Clip Interrogators HOT 7
- Model Zoo Description HOT 3
- Extension bug in Automatic1111 WebUI 1.6.0
- MPS backend out of memory OSX
- API /interrogator/prompt image problem
- custom models error: AttributeError: 'NoneType' object has no attribute 'split'
- Exception <class 'RuntimeError'> HOT 1
- add new output mode in BATCH tab
- add new output mode in BATCH tab
- Model fails to load on second GPU
- 出现错误,无法反推提示词 HOT 1
- TypeError: Object of type BlipTextConfig is not JSON serializable
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 clip-interrogator-ext.