Yaron Koresh commited on
Commit
c3c961a
·
verified ·
1 Parent(s): 8bd9cd3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
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: 448 / 448 !important;
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;