Spaces:
Runtime error
Runtime error
Update app.py
Browse files51 unmodified lines5253545556575817 unmodified lines76777879808182838485868788899091929394959697989910010110210310410510610710810911011151 unmodified linescss="""#col-container{margin: 0 auto;max-width: 1600px;text-align: left;}"""17 unmodified linessubmit_btn = gr.Button("Submit")with gr.Accordion(label="Advanced Settings", open=False):negative_prompt = gr.Textbox(label="Negative Prompt", info='''Things you do not want to see in your image''',value="text, watermark, lowres, low quality, worst quality, deformed, glitch, low contrast, noisy, saturation, blurry")number_of_outputs = gr.Slider(label="Number Of Outputs", info='''The number of images to generate.''', value=2,minimum=1, maximum=4, step=1,)number_of_images_per_pose = gr.Slider(label="Number Of Images Per Pose", info='''The number of images to generate for each pose.''', value=1,minimum=1, maximum=4, step=1,)randomise_poses = gr.Checkbox(label="Randomise Poses", info='''Randomise the poses used.''', value=True)output_format = gr.Dropdown(choices=['webp', 'jpg', 'png'], label="output_format", info='''Format of the output images''', value="webp")output_quality = gr.Number(label="Output Quality", info='''Quality of the output images, from 0 to 100. 100 is best quality, 0 is lowest quality.''', value=80)seed = gr.Number(label="Seed", info='''Set a seed for reproducibility. Random by default.''', value=None)with gr.Column(scale=2):consistent_results = gr.Gallery(label="Consistent Results")51 unmodified lines5253545556575817 unmodified lines76777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711851 unmodified linescss="""#col-container{margin: 0 auto;max-width: 1400px;text-align: left;}"""17 unmodified linessubmit_btn = gr.Button("Submit")with gr.Accordion(label="Advanced Settings", open=False):negative_prompt = gr.Textbox(label="Negative Prompt", info='''Things you do not want to see in your image''',value="text, watermark, lowres, low quality, worst quality, deformed, glitch, low contrast, noisy, saturation, blurry")with gr.Row():number_of_outputs = gr.Slider(label="Number Of Outputs", info='''The number of images to generate.''', value=2,minimum=1, maximum=4, step=1,)number_of_images_per_pose = gr.Slider(label="Number Of Images Per Pose", info='''The number of images to generate for each pose.''', value=1,minimum=1, maximum=4, step=1,)with gr.Row():randomise_poses = gr.Checkbox(label="Randomise Poses", info='''Randomise the poses used.''', value=True)output_format = gr.Dropdown(choices=['webp', 'jpg', 'png'], label="output_format", info='''Format of the output images''', value="webp")with gr.Row():output_quality = gr.Number(label="Output Quality", info='''Quality of the output images, from 0 to 100. 100 is best quality, 0 is lowest quality.''', value=80)seed = gr.Number(label="Seed", info='''Set a seed for reproducibility. Random by default.''', value=None)with gr.Column(scale=2):consistent_results = gr.Gallery(label="Consistent Results")
app.py+32-25