Spaces:
Sleeping
Sleeping
resizing img display
Browse files- app.py +1 -0
- img_styles.css +4 -0
app.py
CHANGED
@@ -15,6 +15,7 @@ iface = gr.Interface(
|
|
15 |
allow_screenshot=True,
|
16 |
title='Random Landscape Image Generator By Huseyn Gorbani',
|
17 |
description='This app generates random images, using DCFAN inspired WGAN-GP model. Special Thanks to Aladdin Persson and Emilien Dupont for their insightful repos on GitHub. Aladdin Persson (repo: https://github.com/aladdinpersson/Machine-Learning-Collection/tree/master/ML/Pytorch/GANs/4.%20WGAN-GP) Emilien Dupont (repo: https://github.com/EmilienDupont/wgan-gp/blob/master/training.py)',
|
|
|
18 |
)
|
19 |
|
20 |
iface.launch()
|
|
|
15 |
allow_screenshot=True,
|
16 |
title='Random Landscape Image Generator By Huseyn Gorbani',
|
17 |
description='This app generates random images, using DCFAN inspired WGAN-GP model. Special Thanks to Aladdin Persson and Emilien Dupont for their insightful repos on GitHub. Aladdin Persson (repo: https://github.com/aladdinpersson/Machine-Learning-Collection/tree/master/ML/Pytorch/GANs/4.%20WGAN-GP) Emilien Dupont (repo: https://github.com/EmilienDupont/wgan-gp/blob/master/training.py)',
|
18 |
+
css='img_styles.css',
|
19 |
)
|
20 |
|
21 |
iface.launch()
|
img_styles.css
ADDED
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
1 |
+
.gradio-content img {
|
2 |
+
max-width: 50%;
|
3 |
+
max-height: 50%;
|
4 |
+
}
|