Instructions to use anyeZHY/tesseract with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use anyeZHY/tesseract with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline from diffusers.utils import load_image, export_to_video # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("anyeZHY/tesseract", dtype=torch.bfloat16, device_map="cuda") pipe.to("cuda") prompt = "A man with short gray hair plays a red electric guitar." image = load_image( "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/diffusers/guitar-man.png" ) output = pipe(image=image, prompt=prompt).frames[0] export_to_video(output, "output.mp4") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -9,7 +9,6 @@ library_name: diffusers
|
|
| 9 |
<p align="center">
|
| 10 |
<a href="https://haoyuzhen.com">Haoyu Zhen*</a>,
|
| 11 |
<a href="https://qiaosun22.github.io/">Qiao Sun*</a>,
|
| 12 |
-
<a href="https://qiaosun22.github.io/">Qiao Sun*</a>,
|
| 13 |
<a href="https://icefoxzhx.github.io/">Hongxin Zhang</a>,
|
| 14 |
<a href="https://senfu.github.io/">Junyan Li</a>,
|
| 15 |
<a href="https://rainbow979.github.io/">Siyuan Zhou</a>,
|
|
|
|
| 9 |
<p align="center">
|
| 10 |
<a href="https://haoyuzhen.com">Haoyu Zhen*</a>,
|
| 11 |
<a href="https://qiaosun22.github.io/">Qiao Sun*</a>,
|
|
|
|
| 12 |
<a href="https://icefoxzhx.github.io/">Hongxin Zhang</a>,
|
| 13 |
<a href="https://senfu.github.io/">Junyan Li</a>,
|
| 14 |
<a href="https://rainbow979.github.io/">Siyuan Zhou</a>,
|