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

How to prompt MiaoshouAI/Florence-2-base-PromptGen #315

Open
asdrabael opened this issue Dec 25, 2024 · 2 comments
Open

How to prompt MiaoshouAI/Florence-2-base-PromptGen #315

asdrabael opened this issue Dec 25, 2024 · 2 comments

Comments

@asdrabael
Copy link

asdrabael commented Dec 25, 2024

If you do no prompt at all, it just does booru tags. It has the ability to do detailed captions, but if you try to use anything it says:

This model only supports the following prompts: "<GENERATE_PROMPT>", "", "<DETAILED_CAPTION>", and "<MORE_DETAILED_CAPTION>". The default prompt is "<GENERATE_PROMPT>".

I've tried "<DETAILED_CAPTION>", prompt="<DETAILED_CAPTION>", and every way I can think of but I can't get a response except for that. Am I missing something obvious? I'm sure it's something simple.

@jhc13
Copy link
Owner

jhc13 commented Dec 25, 2024

Have you tried using "<DETAILED_CAPTION>" as the prompt?

@asdrabael
Copy link
Author

Yes, i wrote that in my post but the html broke it. I fixed it but ended up having to open the florence2 python code in the auto-captioning folder and changing the default in the python code because no prompts worked.

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