Spaces:
Running
on
Zero
Running
on
Zero
Reorder tabs
Browse files
app.py
CHANGED
@@ -98,22 +98,22 @@ with gr.Blocks(css=css, theme=theme) as demo:
|
|
98 |
[CommonCanvas suite of models](https://huggingface.co/collections/common-canvas/commoncanvas-66226ef9688b3580a5954653) trained on [CommonCatalogue](https://huggingface.co/collections/common-canvas/commoncatalog-6530907589ffafffe87c31c5), ~70M Creative Commons images.
|
99 |
''')
|
100 |
#with gr.Group():
|
|
|
|
|
|
|
|
|
101 |
with gr.Tab("XL-C model"):
|
102 |
with gr.Row():
|
103 |
prompt_xlc = gr.Textbox(show_label=False, scale=4, placeholder="Your prompt for XL-C")
|
104 |
button_xlc = gr.Button("Generate", min_width=120)
|
105 |
-
with gr.Tab("
|
106 |
with gr.Row():
|
107 |
-
|
108 |
-
|
109 |
with gr.Tab("S-C model"):
|
110 |
with gr.Row():
|
111 |
prompt_sc = gr.Textbox(show_label=False, scale=4, placeholder="Your prompt for S-C")
|
112 |
button_sc = gr.Button("Generate", min_width=120)
|
113 |
-
with gr.Tab("S-NC model"):
|
114 |
-
with gr.Row():
|
115 |
-
prompt_snc = gr.Textbox(show_label=False, scale=4, placeholder="Your prompt for S-NC")
|
116 |
-
button_snc = gr.Button("Generate", min_width=120)
|
117 |
output = gr.Image(label="Your result", interactive=False)
|
118 |
with gr.Accordion("Advanced Settings", open=False):
|
119 |
guidance_scale = gr.Number(label="CFG Guidance Scale", info="The guidance scale for CFG, ignored if no prompt is entered (unconditional generation)", value=7.0)
|
|
|
98 |
[CommonCanvas suite of models](https://huggingface.co/collections/common-canvas/commoncanvas-66226ef9688b3580a5954653) trained on [CommonCatalogue](https://huggingface.co/collections/common-canvas/commoncatalog-6530907589ffafffe87c31c5), ~70M Creative Commons images.
|
99 |
''')
|
100 |
#with gr.Group():
|
101 |
+
with gr.Tab("XL-NC model"):
|
102 |
+
with gr.Row():
|
103 |
+
prompt_xlnc = gr.Textbox(show_label=False, scale=4, placeholder="Your prompt for XL-NC")
|
104 |
+
button_xlnc = gr.Button("Generate", min_width=120)
|
105 |
with gr.Tab("XL-C model"):
|
106 |
with gr.Row():
|
107 |
prompt_xlc = gr.Textbox(show_label=False, scale=4, placeholder="Your prompt for XL-C")
|
108 |
button_xlc = gr.Button("Generate", min_width=120)
|
109 |
+
with gr.Tab("S-NC model"):
|
110 |
with gr.Row():
|
111 |
+
prompt_snc = gr.Textbox(show_label=False, scale=4, placeholder="Your prompt for S-NC")
|
112 |
+
button_snc = gr.Button("Generate", min_width=120)
|
113 |
with gr.Tab("S-C model"):
|
114 |
with gr.Row():
|
115 |
prompt_sc = gr.Textbox(show_label=False, scale=4, placeholder="Your prompt for S-C")
|
116 |
button_sc = gr.Button("Generate", min_width=120)
|
|
|
|
|
|
|
|
|
117 |
output = gr.Image(label="Your result", interactive=False)
|
118 |
with gr.Accordion("Advanced Settings", open=False):
|
119 |
guidance_scale = gr.Number(label="CFG Guidance Scale", info="The guidance scale for CFG, ignored if no prompt is entered (unconditional generation)", value=7.0)
|