Spaces:
Running
on
Zero
Running
on
Zero
Upload app.py
Browse files
app.py
CHANGED
@@ -94,13 +94,13 @@ def main():
|
|
94 |
recom_animagine = gr.Textbox(label="Animagine reccomended prompt", value="Animagine", visible=False)
|
95 |
recom_pony = gr.Textbox(label="Pony reccomended prompt", value="Pony", visible=False)
|
96 |
generate_btn = gr.Button(value="GENERATE TAGS", size="lg", variant="primary")
|
97 |
-
|
98 |
-
|
99 |
-
|
100 |
-
|
101 |
-
|
102 |
-
|
103 |
-
|
104 |
description_ui2()
|
105 |
|
106 |
random_character.click(select_random_character, [input_copyright, input_character], [input_copyright, input_character], queue=False)
|
|
|
94 |
recom_animagine = gr.Textbox(label="Animagine reccomended prompt", value="Animagine", visible=False)
|
95 |
recom_pony = gr.Textbox(label="Pony reccomended prompt", value="Pony", visible=False)
|
96 |
generate_btn = gr.Button(value="GENERATE TAGS", size="lg", variant="primary")
|
97 |
+
with gr.Row():
|
98 |
+
with gr.Group():
|
99 |
+
output_text = gr.TextArea(label="Output tags", interactive=False, show_copy_button=True)
|
100 |
+
copy_btn = gr.Button(value="Copy to clipboard", size="sm", interactive=False)
|
101 |
+
with gr.Group():
|
102 |
+
output_text_pony = gr.TextArea(label="Output tags (Pony e621 style)", interactive=False, show_copy_button=True)
|
103 |
+
copy_btn_pony = gr.Button(value="Copy to clipboard", size="sm", interactive=False)
|
104 |
description_ui2()
|
105 |
|
106 |
random_character.click(select_random_character, [input_copyright, input_character], [input_copyright, input_character], queue=False)
|