Spaces:
Sleeping
Sleeping
Yaron Koresh
commited on
Update app.py
Browse files
app.py
CHANGED
|
@@ -21,6 +21,8 @@ from diffusers.utils import load_image
|
|
| 21 |
#import jax
|
| 22 |
#import jax.numpy as jnp
|
| 23 |
|
|
|
|
|
|
|
| 24 |
def port_inc():
|
| 25 |
os.environ["GRADIO_SERVER_PORT"]=str(int(os.getenv("GRADIO_SERVER_PORT"))+1)
|
| 26 |
|
|
@@ -189,7 +191,7 @@ footer {
|
|
| 189 |
max-width: 15cm !important;
|
| 190 |
}
|
| 191 |
.image-container {
|
| 192 |
-
aspect-ratio:
|
| 193 |
}
|
| 194 |
.dropdown-arrow {
|
| 195 |
display: none !important;
|
|
|
|
| 21 |
#import jax
|
| 22 |
#import jax.numpy as jnp
|
| 23 |
|
| 24 |
+
os.environ["GRADIO_SERVER_PORT"]="8000"
|
| 25 |
+
|
| 26 |
def port_inc():
|
| 27 |
os.environ["GRADIO_SERVER_PORT"]=str(int(os.getenv("GRADIO_SERVER_PORT"))+1)
|
| 28 |
|
|
|
|
| 191 |
max-width: 15cm !important;
|
| 192 |
}
|
| 193 |
.image-container {
|
| 194 |
+
aspect-ratio: 512 / 512 !important;
|
| 195 |
}
|
| 196 |
.dropdown-arrow {
|
| 197 |
display: none !important;
|