ahmetrustem
commited on
Commit
•
53e195f
1
Parent(s):
bde15db
Create test
Browse fileshttps://s3.amazonaws.com/moonup/production/uploads/634dcd38c8ef0f7fc0d195df/MpkvvJiDjcuXpb-NVSeip.mp4
test
ADDED
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
pip install transformers
|
2 |
+
import torch
|
3 |
+
from transformers import TemporalNetStableDiffusionModel, TemporalNetStableDiffusionConfig, AutoTokenizer
|
4 |
+
tokenizer = AutoTokenizer.from_pretrained("EleutherAI/temporalnet_stablediffusion_enwik8")
|
5 |
+
config = TemporalNetStableDiffusionConfig.from_pretrained("EleutherAI/temporalnet_stablediffusion_enwik8")
|
6 |
+
model = TemporalNetStableDiffusionModel.from_pretrained("EleutherAI/temporalnet_stablediffusion_enwik8", config=config)
|