Update app.py
Browse files
app.py
CHANGED
|
@@ -46,7 +46,7 @@ transform = Compose([
|
|
| 46 |
])
|
| 47 |
|
| 48 |
|
| 49 |
-
model = GeneratorResNet.from_pretrained('
|
| 50 |
num_residual_blocks=9)
|
| 51 |
|
| 52 |
gr.Interface(lambda image: pred_pipeline(image, transform),
|
|
|
|
| 46 |
])
|
| 47 |
|
| 48 |
|
| 49 |
+
model = GeneratorResNet.from_pretrained('huggan/sim2real_cyclegan', input_shape=(n_channels, image_size, image_size),
|
| 50 |
num_residual_blocks=9)
|
| 51 |
|
| 52 |
gr.Interface(lambda image: pred_pipeline(image, transform),
|