[1]:
%reload_ext jupyter_ai
快速实验不同的HF Hub模型#
我们可以调用Hugging Face Hub上的模型,返回图像:
[2]:
%%ai huggingface_hub:stabilityai/stable-diffusion-2-1 --format image
It's an astronaut with a boombox
[2]:
[3]:
%%ai huggingface_hub:runwayml/stable-diffusion-v1-5 --format image
It's an astronaut with a boombox
[3]:
[4]:
%%ai huggingface_hub:hakurei/waifu-diffusion --format image
It's an astronaut with a boombox
[4]:
[ ]: