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 use it? #2
Comments
Here is an example from minidalle3.model import MiniDALLE3
model = MiniDALLE3('gpt3.5', prompt_path="minidalle3/prompts/prompt-v2.txt")
message = [model.system_message, 'I have read a story where it talks about an "astronaut riding a horse" -- What does it look like ?']
images = []
text, image = state['model'].ask(state['messages'], state['images'])
if image is not None:
image = image.image |
Thank for the code snippet, I'll definitely try it out and let you know.
|
|
@Zeqiang-Lai I was unable to get started with the above snippet for some reason. If this Colab works out, you can also add a Colab Demo for people to try out! |
Hi any updates? @Zeqiang-Lai |
Hey! I was able to get the Demo working Can you work on a Demo Colab Notebook as well? @Zeqiang-Lai |
I am sorry that I am very busy for these moments, we will include the Colab demo for our next version. |
Sure, please let me know once you release an update |
Can someone please share a step-by-step procedure to get started?
I would prefer a Non-Gradio Approach (CLI or HF Pipeline)
The text was updated successfully, but these errors were encountered: