Problem with running the model.
Hi, i am very new in ML and hugging face platform so i have some problems with running Ruyi-Mini-7B model. As it said in "Use this model" section i passed next code in google colab:
"
from diffusers import DiffusionPipeline
pipe = DiffusionPipeline.from_pretrained("IamCreateAI/Ruyi-Mini-7B")
prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k"
image = pipe(prompt).images[0]
"
and the following error appeared: "module diffusers has no attribute RuyiInpaintPipeline".
Can you help me solve this problem?
Thanks in advance.
!pip install diffusers
from diffusers import StableDiffusionPipeline
Загрузка предобученной модели
pipe = StableDiffusionPipeline.from_pretrained("IamCreateAI/Ruyi-Mini-7B")
Установка промпта для генерации изображения
prompt = "Astronaut in a jungle, cold color palette, muted colors, detail, 8k"
Генерация изображения
image = pipe(prompt).images[0]
Сохранение изображения
image.save("generated_image.png")
Sorry that Ruyi has not been merged into diffusers. Please use the codes in github (https://github.com/IamCreateAI/Ruyi-Models) to generate videos.