Spaces:
Running
Running
daquanzhou
commited on
Commit
•
4b90430
1
Parent(s):
f328d0c
Adjust layout v2
Browse files
app.py
CHANGED
@@ -547,6 +547,10 @@ def ui():
|
|
547 |
prompt_textbox = gr.Textbox( label="Prompt", info="a photo of <V*> man/woman ", lines=3, value="in superman costume in the outer space, stars in the background" )
|
548 |
negative_prompt_textbox = gr.Textbox( label="Negative Prompt", lines=3, value="(deformed iris, deformed pupils, semi-realistic, cgi, 3d, render, sketch, cartoon, drawing, anime), text, cropped, out of frame, worst quality, low quality, jpeg artifacts, ugly, duplicate, morbid, mutilated, extra fingers, mutated hands, poorly drawn hands, poorly drawn face, mutation, deformed, blurry, dehydrated, bad anatomy, bad proportions, extra limbs, cloned face, disfigured, gross proportions, malformed limbs, missing arms, missing legs, extra arms, extra legs, fused fingers, too many fingers, long neck, UnrealisticDream")
|
549 |
|
|
|
|
|
|
|
|
|
550 |
with gr.Accordion("Advance", open=False):
|
551 |
with gr.Row():
|
552 |
gaussian_slider = gr.Slider( label="3D Gaussian Noise Covariance", value=0.2, minimum=0, maximum=1, step=0.05 )
|
@@ -554,15 +558,11 @@ def ui():
|
|
554 |
seed_textbox = gr.Textbox( label="Seed", value=-1)
|
555 |
seed_button = gr.Button(value="\U0001F3B2", elem_classes="toolbutton")
|
556 |
seed_button.click(fn=lambda: gr.Textbox.update(value=random.randint(1, 1e16)), inputs=[], outputs=[seed_textbox])
|
557 |
-
|
558 |
-
|
559 |
-
|
560 |
-
with gr.Column():
|
561 |
json_config = gr.Json(label="Config", value=None )
|
562 |
|
563 |
generate_button = gr.Button( value="Generate", variant='primary' )
|
564 |
|
565 |
-
with gr.
|
566 |
orig_video = gr.Video( label="Video after T2I VCD", interactive=False )
|
567 |
face_detailer_video = gr.Video( label="Video after Face VCD", interactive=False )
|
568 |
sr_video = gr.Video( label="Video after Tiled VCD", interactive=False )
|
|
|
547 |
prompt_textbox = gr.Textbox( label="Prompt", info="a photo of <V*> man/woman ", lines=3, value="in superman costume in the outer space, stars in the background" )
|
548 |
negative_prompt_textbox = gr.Textbox( label="Negative Prompt", lines=3, value="(deformed iris, deformed pupils, semi-realistic, cgi, 3d, render, sketch, cartoon, drawing, anime), text, cropped, out of frame, worst quality, low quality, jpeg artifacts, ugly, duplicate, morbid, mutilated, extra fingers, mutated hands, poorly drawn hands, poorly drawn face, mutation, deformed, blurry, dehydrated, bad anatomy, bad proportions, extra limbs, cloned face, disfigured, gross proportions, malformed limbs, missing arms, missing legs, extra arms, extra legs, fused fingers, too many fingers, long neck, UnrealisticDream")
|
549 |
|
550 |
+
|
551 |
+
|
552 |
+
|
553 |
+
with gr.Column():
|
554 |
with gr.Accordion("Advance", open=False):
|
555 |
with gr.Row():
|
556 |
gaussian_slider = gr.Slider( label="3D Gaussian Noise Covariance", value=0.2, minimum=0, maximum=1, step=0.05 )
|
|
|
558 |
seed_textbox = gr.Textbox( label="Seed", value=-1)
|
559 |
seed_button = gr.Button(value="\U0001F3B2", elem_classes="toolbutton")
|
560 |
seed_button.click(fn=lambda: gr.Textbox.update(value=random.randint(1, 1e16)), inputs=[], outputs=[seed_textbox])
|
|
|
|
|
|
|
|
|
561 |
json_config = gr.Json(label="Config", value=None )
|
562 |
|
563 |
generate_button = gr.Button( value="Generate", variant='primary' )
|
564 |
|
565 |
+
with gr.Row():
|
566 |
orig_video = gr.Video( label="Video after T2I VCD", interactive=False )
|
567 |
face_detailer_video = gr.Video( label="Video after Face VCD", interactive=False )
|
568 |
sr_video = gr.Video( label="Video after Tiled VCD", interactive=False )
|