Spaces:
Build error
Build error
Upload 3 files
Browse files
README.md
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
---
|
| 2 |
-
title: 866 AI Art Models 6 Outputs (Gradio 4.x, Single Gallery
|
| 3 |
emoji: 🛕🛕
|
| 4 |
colorFrom: green
|
| 5 |
colorTo: blue
|
|
|
|
| 1 |
---
|
| 2 |
+
title: 866 AI Art Models 6 Outputs (Gradio 4.x, Single Gallery)
|
| 3 |
emoji: 🛕🛕
|
| 4 |
colorFrom: green
|
| 5 |
colorTo: blue
|
app.py
CHANGED
|
@@ -107,10 +107,10 @@ with gr.Blocks(theme='Nymbo/Nymbo_Theme', fill_width=True, css=CSS) as demo:
|
|
| 107 |
txt_input = gr.Textbox(label='Your prompt:', lines=4)
|
| 108 |
neg_input = gr.Textbox(label='Negative prompt:', lines=1)
|
| 109 |
with gr.Accordion("Advanced", open=False, visible=True):
|
| 110 |
-
width = gr.Number(label="Width", info="If 0, the default value is used.", maximum=1216, step=32, value=
|
| 111 |
-
height = gr.Number(label="Height", info="If 0, the default value is used.", maximum=1216, step=32, value=
|
| 112 |
-
steps = gr.Number(label="Number of inference steps", info="If 0, the default value is used.", maximum=100, step=1, value=
|
| 113 |
-
cfg = gr.Number(label="Guidance scale", info="If 0, the default value is used.", maximum=30.0, step=0.1, value=
|
| 114 |
with gr.Row():
|
| 115 |
gen_button = gr.Button(f'Generate up to {int(num_models)} images in up to 3 minutes total', scale=2)
|
| 116 |
stop_button = gr.Button('Stop', variant='secondary', interactive=False, scale=1)
|
|
@@ -149,10 +149,10 @@ with gr.Blocks(theme='Nymbo/Nymbo_Theme', fill_width=True, css=CSS) as demo:
|
|
| 149 |
txt_input2 = gr.Textbox(label='Your prompt:', lines=4)
|
| 150 |
neg_input2 = gr.Textbox(label='Negative prompt:', lines=1)
|
| 151 |
with gr.Accordion("Advanced", open=False, visible=True):
|
| 152 |
-
width2 = gr.Number(label="Width", info="If 0, the default value is used.", maximum=1216, step=32, value=
|
| 153 |
-
height2 = gr.Number(label="Height", info="If 0, the default value is used.", maximum=1216, step=32, value=
|
| 154 |
-
steps2 = gr.Number(label="Number of inference steps", info="If 0, the default value is used.", maximum=100, step=1, value=
|
| 155 |
-
cfg2 = gr.Number(label="Guidance scale", info="If 0, the default value is used.", maximum=30.0, step=0.1, value=
|
| 156 |
num_images = gr.Slider(1, max_images, value=max_images, step=1, label='Number of images')
|
| 157 |
with gr.Row():
|
| 158 |
gen_button2 = gr.Button('Generate', scale=2)
|
|
|
|
| 107 |
txt_input = gr.Textbox(label='Your prompt:', lines=4)
|
| 108 |
neg_input = gr.Textbox(label='Negative prompt:', lines=1)
|
| 109 |
with gr.Accordion("Advanced", open=False, visible=True):
|
| 110 |
+
width = gr.Number(label="Width", info="If 0, the default value is used.", maximum=1216, step=32, value=0)
|
| 111 |
+
height = gr.Number(label="Height", info="If 0, the default value is used.", maximum=1216, step=32, value=0)
|
| 112 |
+
steps = gr.Number(label="Number of inference steps", info="If 0, the default value is used.", maximum=100, step=1, value=0)
|
| 113 |
+
cfg = gr.Number(label="Guidance scale", info="If 0, the default value is used.", maximum=30.0, step=0.1, value=0)
|
| 114 |
with gr.Row():
|
| 115 |
gen_button = gr.Button(f'Generate up to {int(num_models)} images in up to 3 minutes total', scale=2)
|
| 116 |
stop_button = gr.Button('Stop', variant='secondary', interactive=False, scale=1)
|
|
|
|
| 149 |
txt_input2 = gr.Textbox(label='Your prompt:', lines=4)
|
| 150 |
neg_input2 = gr.Textbox(label='Negative prompt:', lines=1)
|
| 151 |
with gr.Accordion("Advanced", open=False, visible=True):
|
| 152 |
+
width2 = gr.Number(label="Width", info="If 0, the default value is used.", maximum=1216, step=32, value=0)
|
| 153 |
+
height2 = gr.Number(label="Height", info="If 0, the default value is used.", maximum=1216, step=32, value=0)
|
| 154 |
+
steps2 = gr.Number(label="Number of inference steps", info="If 0, the default value is used.", maximum=100, step=1, value=0)
|
| 155 |
+
cfg2 = gr.Number(label="Guidance scale", info="If 0, the default value is used.", maximum=30.0, step=0.1, value=0)
|
| 156 |
num_images = gr.Slider(1, max_images, value=max_images, step=1, label='Number of images')
|
| 157 |
with gr.Row():
|
| 158 |
gen_button2 = gr.Button('Generate', scale=2)
|