ahmetrustem commited on
Commit
53e195f
1 Parent(s): bde15db

Create test

Browse files

https://s3.amazonaws.com/moonup/production/uploads/634dcd38c8ef0f7fc0d195df/MpkvvJiDjcuXpb-NVSeip.mp4

Files changed (1) hide show
  1. test +6 -0
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)