Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -7,7 +7,7 @@ import gradio as gr
|
|
7 |
# Define the VAE model
|
8 |
class ConvVAE(nn.Module):
|
9 |
def __init__(self, input_channels=3, latent_dim=32):
|
10 |
-
super(
|
11 |
self.latent_dim = latent_dim
|
12 |
# Encoder
|
13 |
self.enc_conv1 = nn.Conv2d(input_channels, 64, kernel_size=3, stride=2, padding=1)
|
|
|
7 |
# Define the VAE model
|
8 |
class ConvVAE(nn.Module):
|
9 |
def __init__(self, input_channels=3, latent_dim=32):
|
10 |
+
super(ConvVAE, self).__init__()
|
11 |
self.latent_dim = latent_dim
|
12 |
# Encoder
|
13 |
self.enc_conv1 = nn.Conv2d(input_channels, 64, kernel_size=3, stride=2, padding=1)
|