Skip to content
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

best and simple method to link IF_prompt_MKR to Oobabooga #14

Open
marc2608 opened this issue Jun 26, 2024 · 4 comments
Open

best and simple method to link IF_prompt_MKR to Oobabooga #14

marc2608 opened this issue Jun 26, 2024 · 4 comments

Comments

@marc2608
Copy link

Hi, I don't have much programming experience, but I'm starting to get the hang of A1111. I'm very interested in IF prompt MKR and I've installed it in my A1111. However, I can't get it to work with Oobabooga, which I've also installed and which works very well but only as a text generation webui, with no link yet to the IF prompt MKR extension. I would have liked to find a step-by-step explanation of how to make them work together to create prompts. For example, a simple explanation of the API and how to insert it in the IF prompt MKR settings in A1111, the flags, the basic parameters of oobabooga in order to make it work with the MKR extension etc...
Thank you in advance!

@if-ai
Copy link
Owner

if-ai commented Jun 26, 2024

Yes I have done a few tutorials not sure if you have seen my channel it's been a long time I haven't use A1111 so it might have changed a lot since. I will try to make a new tutorial soon

@marc2608
Copy link
Author

Thank you very much for your answer. I really want to use this beautiful extension, but I'm having a recurring problem. Can you help me by giving me your opinion? These are the messages I get, both in automatic1111 when I use IF prompt MKR and in the cmd window when I open A1111. It's the same with Oobabooga as with Ollama; please help me correct this problem if you have some time!
Capture d'écran 2024-06-28 182214
Capture d'écran 2024-06-28 182108

@if-ai
Copy link
Owner

if-ai commented Jun 28, 2024

Is basic but do you have ollama installed already? You can go into ollama.com and install Ollama for your system then reboot make sure you download a model if you want to use SD you can he this model by opening your terminal and typing ollama run impactframes/llama3_ifai_sd_prompt_mkr_q4km:latest that will download a model that is s special for SD prompts then when it finishes start A1111 make sure the if prompt maker settings has IP of your machine normally is 127.0.0.1 and the port is 11434
If you have a VPN you might need to allow the IP communication your machine might also have another IP different than 127.0.0.1 in which case you need to find the number you can type ipconfig on a CMD Window

@marc2608
Copy link
Author

Yes, Ollama and model are installed. The model appears in the list and here are the extension settings in A1111.
My A1111 version is:
version: v1.9.4 - python: 3.10.6 - torch: 2.1.2+cu121 - xformers: 0.0.23.post1 - gradio: 3.41.2
Maybe it is not compatible?
Capture d'écran 2024-06-28 191418
Capture d'écran 2024-06-28 191131

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants