ujin-song commited on
Commit
0148499
•
1 Parent(s): 485a58f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +22 -20
app.py CHANGED
@@ -210,8 +210,8 @@ css="""
210
  with gr.Blocks(css=css) as demo:
211
  gr.Markdown(f"""
212
  # Orthogonal Adaptation
213
- Describe your world with a ** [🪄 Text Prompts] **(global and regional prompts) and choose two characters to merge.
214
- Select their ** [ 👯 Poses ] **(spatial conditions) for regionally controllable sampling to generate a unique image using our model.
215
  Let your creativity run wild! (Currently running on : {power_device} )
216
  """)
217
 
@@ -317,24 +317,26 @@ with gr.Blocks(css=css) as demo:
317
  value = 'shirtless, nudity, saturated, cropped, worst quality, low quality',
318
  visible=False,
319
  )
320
-
321
- seed = gr.Slider(
322
- label="Seed",
323
- minimum=0,
324
- maximum=MAX_SEED,
325
- step=1,
326
- value=0,
327
- )
328
-
329
- randomize_seed = gr.Checkbox(label="Randomize seed", value=True)
330
-
331
- alpha = gr.Slider(
332
- label="Merge Weight",
333
- minimum=1.2,
334
- maximum=2.0,
335
- step=0.2,
336
- value=1.8,
337
- )
 
 
338
 
339
  with gr.Row():
340
 
 
210
  with gr.Blocks(css=css) as demo:
211
  gr.Markdown(f"""
212
  # Orthogonal Adaptation
213
+ Describe your world with a [ **🪄 Text Prompts** ](global and regional prompts) and choose two characters to merge.
214
+ Select their [ ** 👯 Poses ** ](spatial conditions) for regionally controllable sampling to generate a unique image using our model.
215
  Let your creativity run wild! (Currently running on : {power_device} )
216
  """)
217
 
 
317
  value = 'shirtless, nudity, saturated, cropped, worst quality, low quality',
318
  visible=False,
319
  )
320
+
321
+ with gr.Row():
322
+ with gr.Column():
323
+ seed = gr.Slider(
324
+ label="Seed",
325
+ minimum=0,
326
+ maximum=MAX_SEED,
327
+ step=1,
328
+ value=0,
329
+ )
330
+
331
+ randomize_seed = gr.Checkbox(label="Randomize seed", value=True)
332
+
333
+ alpha = gr.Slider(
334
+ label="Merge Weight",
335
+ minimum=1.4,
336
+ maximum=2.0,
337
+ step=0.2,
338
+ value=1.8,
339
+ )
340
 
341
  with gr.Row():
342