haoyu commited on
Commit
821f954
1 Parent(s): b3e027a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -7,6 +7,8 @@ from yaml.loader import SafeLoader
7
  import torch
8
  from diffusers import StableDiffusionPipeline
9
 
 
 
10
  # authentification
11
  with open('./bla.yaml') as file:
12
  config = yaml.load(file, Loader=SafeLoader)
 
7
  import torch
8
  from diffusers import StableDiffusionPipeline
9
 
10
+ torch.layer_norm(torch.tensor([1., 2., 3.], dtype=torch.float16, device='cpu'), normalized_shape=(3,))
11
+
12
  # authentification
13
  with open('./bla.yaml') as file:
14
  config = yaml.load(file, Loader=SafeLoader)