Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -84,26 +84,22 @@ margin: 0 auto;
|
|
84 |
|
85 |
with gr.Blocks(css=css, theme=theme) as demo:
|
86 |
gr.Markdown('''# CommonCanvas
|
87 |
-
|
88 |
''')
|
89 |
with gr.Group():
|
90 |
with gr.Tab("CommonCanvas XLC"):
|
91 |
-
gr.Markdown("Selected: [CommonCanvas XL-Commercial](https://huggingface.co/temp-org-cc/CommonCanvas-XLC)")
|
92 |
with gr.Row():
|
93 |
prompt_xlc = gr.Textbox(show_label=False, scale=4, placeholder="Your prompt")
|
94 |
button_xlc = gr.Button("Generate", min_width=120)
|
95 |
with gr.Tab("CommonCanvas XLNC"):
|
96 |
-
gr.Markdown("Selected: [CommonCanvas XL-Non-Commercial](https://huggingface.co/temp-org-cc/CommonCanvas-XLNC)")
|
97 |
with gr.Row():
|
98 |
prompt_xlnc = gr.Textbox(show_label=False, scale=4, placeholder="Your prompt")
|
99 |
button_xlnc = gr.Button("Generate", min_width=120)
|
100 |
with gr.Tab("CommonCanvas SC"):
|
101 |
-
gr.Markdown("Selected: [CommonCanvas Small-Commercial](https://huggingface.co/temp-org-cc/CommonCanvas-SC)")
|
102 |
with gr.Row():
|
103 |
prompt_sc = gr.Textbox(show_label=False, scale=4, placeholder="Your prompt")
|
104 |
button_sc = gr.Button("Generate", min_width=120)
|
105 |
with gr.Tab("CommonCanvas SNC"):
|
106 |
-
gr.Markdown("Selected: [CommonCanvas Small-Non-Commercial](https://huggingface.co/temp-org-cc/CommonCanvas-SNC)")
|
107 |
with gr.Row():
|
108 |
prompt_snc = gr.Textbox(show_label=False, scale=4, placeholder="Your prompt")
|
109 |
button_snc = gr.Button("Generate", min_width=120)
|
|
|
84 |
|
85 |
with gr.Blocks(css=css, theme=theme) as demo:
|
86 |
gr.Markdown('''# CommonCanvas
|
87 |
+
Demo for the [CommonCanvas suite of models](https://huggingface.co/collections/temp-org-cc/commoncanvas-66226ef9688b3580a5954653) trained on the [CommonCatalogue](https://huggingface.co/collections/temp-org-cc/commoncatalogue-6530907589ffafffe87c31c5), a dataset with ~70M images dedicated to the Creative Commons.
|
88 |
''')
|
89 |
with gr.Group():
|
90 |
with gr.Tab("CommonCanvas XLC"):
|
|
|
91 |
with gr.Row():
|
92 |
prompt_xlc = gr.Textbox(show_label=False, scale=4, placeholder="Your prompt")
|
93 |
button_xlc = gr.Button("Generate", min_width=120)
|
94 |
with gr.Tab("CommonCanvas XLNC"):
|
|
|
95 |
with gr.Row():
|
96 |
prompt_xlnc = gr.Textbox(show_label=False, scale=4, placeholder="Your prompt")
|
97 |
button_xlnc = gr.Button("Generate", min_width=120)
|
98 |
with gr.Tab("CommonCanvas SC"):
|
|
|
99 |
with gr.Row():
|
100 |
prompt_sc = gr.Textbox(show_label=False, scale=4, placeholder="Your prompt")
|
101 |
button_sc = gr.Button("Generate", min_width=120)
|
102 |
with gr.Tab("CommonCanvas SNC"):
|
|
|
103 |
with gr.Row():
|
104 |
prompt_snc = gr.Textbox(show_label=False, scale=4, placeholder="Your prompt")
|
105 |
button_snc = gr.Button("Generate", min_width=120)
|