Spaces:
Running
on
A10G
Running
on
A10G
Commit
•
d94047e
1
Parent(s):
a8e6666
Better name
Browse files
app.py
CHANGED
@@ -418,7 +418,7 @@ with gr.Blocks(css="style.css") as demo:
|
|
418 |
return STYLE_SEGA_CONCEPT_GUIDANCE_SCALE,STYLE_WARMUP_STEPS, STYLE_THRESHOLD
|
419 |
elif dropdown =='object':
|
420 |
return OBJECT_SEGA_CONCEPT_GUIDANCE_SCALE,OBJECT_WARMUP_STEPS, OBJECT_THRESHOLD
|
421 |
-
elif dropdown =='
|
422 |
return FACE_SEGA_CONCEPT_GUIDANCE_SCALE,FACE_WARMUP_STEPS, FACE_THRESHOLD
|
423 |
|
424 |
|
@@ -510,7 +510,7 @@ with gr.Blocks(css="style.css") as demo:
|
|
510 |
placeholder="E.g.: Sunglasses",
|
511 |
)
|
512 |
with gr.Column(scale=2, min_width=100):
|
513 |
-
dropdown1 = gr.Dropdown(label = "Edit Type", value ='custom' , choices=['custom','style', 'object', '
|
514 |
|
515 |
|
516 |
with gr.Column(scale=1, min_width=100, visible=False):
|
@@ -535,7 +535,7 @@ with gr.Blocks(css="style.css") as demo:
|
|
535 |
neg_guidance_2 = gr.Checkbox(
|
536 |
label='Remove Concept?')
|
537 |
with gr.Column(scale=2, min_width=100):
|
538 |
-
dropdown2 = gr.Dropdown(label = "Edit Type", value ='custom' , choices=['custom','style', 'object', '
|
539 |
|
540 |
with gr.Column(scale=1, min_width=100):
|
541 |
add_2 = gr.Button('Add')
|
@@ -554,7 +554,7 @@ with gr.Blocks(css="style.css") as demo:
|
|
554 |
neg_guidance_3 = gr.Checkbox(
|
555 |
label='Remove Concept?',visible=True)
|
556 |
with gr.Column(scale=2, min_width=100):
|
557 |
-
dropdown3 = gr.Dropdown(label = "Edit Type", value ='custom' , choices=['custom','style', 'object', '
|
558 |
with gr.Column(scale=1, min_width=100):
|
559 |
add_3 = gr.Button('Add')
|
560 |
remove_3 = gr.Button('Remove')
|
|
|
418 |
return STYLE_SEGA_CONCEPT_GUIDANCE_SCALE,STYLE_WARMUP_STEPS, STYLE_THRESHOLD
|
419 |
elif dropdown =='object':
|
420 |
return OBJECT_SEGA_CONCEPT_GUIDANCE_SCALE,OBJECT_WARMUP_STEPS, OBJECT_THRESHOLD
|
421 |
+
elif dropdown =='faces':
|
422 |
return FACE_SEGA_CONCEPT_GUIDANCE_SCALE,FACE_WARMUP_STEPS, FACE_THRESHOLD
|
423 |
|
424 |
|
|
|
510 |
placeholder="E.g.: Sunglasses",
|
511 |
)
|
512 |
with gr.Column(scale=2, min_width=100):
|
513 |
+
dropdown1 = gr.Dropdown(label = "Edit Type", value ='custom' , choices=['custom','style', 'object', 'faces'])
|
514 |
|
515 |
|
516 |
with gr.Column(scale=1, min_width=100, visible=False):
|
|
|
535 |
neg_guidance_2 = gr.Checkbox(
|
536 |
label='Remove Concept?')
|
537 |
with gr.Column(scale=2, min_width=100):
|
538 |
+
dropdown2 = gr.Dropdown(label = "Edit Type", value ='custom' , choices=['custom','style', 'object', 'faces'])
|
539 |
|
540 |
with gr.Column(scale=1, min_width=100):
|
541 |
add_2 = gr.Button('Add')
|
|
|
554 |
neg_guidance_3 = gr.Checkbox(
|
555 |
label='Remove Concept?',visible=True)
|
556 |
with gr.Column(scale=2, min_width=100):
|
557 |
+
dropdown3 = gr.Dropdown(label = "Edit Type", value ='custom' , choices=['custom','style', 'object', 'faces'])
|
558 |
with gr.Column(scale=1, min_width=100):
|
559 |
add_3 = gr.Button('Add')
|
560 |
remove_3 = gr.Button('Remove')
|