mrestrepo commited on
Commit
ccb5dfe
·
1 Parent(s): 91de241

Change image size

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -18,7 +18,7 @@ pipeline.load_lora_weights('Roomie/xavyy', weight_name='xavyy.safetensors')
18
 
19
 
20
  MAX_SEED = np.iinfo(np.int32).max
21
- MAX_IMAGE_SIZE = 1024
22
 
23
 
24
  @spaces.GPU
@@ -70,7 +70,7 @@ with gr.Blocks(css=css) as demo:
70
 
71
  result = gr.Image(label="Result", show_label=True)
72
 
73
- with gr.Accordion("Advanced Settings", open=False):
74
 
75
  seed = gr.Slider(
76
  label="Seed",
@@ -120,7 +120,7 @@ with gr.Blocks(css=css) as demo:
120
  minimum=1,
121
  maximum=50,
122
  step=1,
123
- value=28,
124
  visible=True
125
  )
126
 
 
18
 
19
 
20
  MAX_SEED = np.iinfo(np.int32).max
21
+ MAX_IMAGE_SIZE = 2000
22
 
23
 
24
  @spaces.GPU
 
70
 
71
  result = gr.Image(label="Result", show_label=True)
72
 
73
+ with gr.Accordion("Advanced Settings", open=True):
74
 
75
  seed = gr.Slider(
76
  label="Seed",
 
120
  minimum=1,
121
  maximum=50,
122
  step=1,
123
+ value=45,
124
  visible=True
125
  )
126