Update app.py
Browse files
app.py
CHANGED
|
@@ -4,6 +4,7 @@ from torchvision.utils import save_image
|
|
| 4 |
from PIL import Image
|
| 5 |
from huggingface_hub import hf_hub_download
|
| 6 |
import os
|
|
|
|
| 7 |
|
| 8 |
class VAE(nn.Module):
|
| 9 |
def __init__(self, input_dim, h_dim=400, z_dim=20):
|
|
|
|
| 4 |
from PIL import Image
|
| 5 |
from huggingface_hub import hf_hub_download
|
| 6 |
import os
|
| 7 |
+
import torch.nn as nn
|
| 8 |
|
| 9 |
class VAE(nn.Module):
|
| 10 |
def __init__(self, input_dim, h_dim=400, z_dim=20):
|