Instructions to use fudan-generative-ai/hallo with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use fudan-generative-ai/hallo with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("fudan-generative-ai/hallo", dtype=torch.bfloat16, device_map="cuda") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Hallo
How to use fudan-generative-ai/hallo with Hallo:
# No code snippets available yet for this library. # To use this model, check the repository files and the library's documentation. # Want to help? PRs adding snippets are welcome at: # https://github.com/huggingface/huggingface.js
- Notebooks
- Google Colab
- Kaggle
Does Not Work
#1
by huggingLips - opened
I've tried downloading the code to Google Colab as well as running all of the spaces (besides the original) and have not been successful. When it doesn't work there are no messages, just "Error". Has anyone been able to generate a talking avatar through HuggingFace space or Google Colab?
This comment has been hidden
This comment has been hidden