Spaces:
Running
Running
gustproof
commited on
Commit
·
c3fd84a
1
Parent(s):
f5660c2
Prevent gradio from gradioing
Browse files
app.py
CHANGED
@@ -26,7 +26,7 @@ def do():
|
|
26 |
for p, idx in zip(parts, idxs)
|
27 |
for _ in (
|
28 |
f"{p} ([danbooru post](https://danbooru.donmai.us/posts/{meta[idx]['id']}))",
|
29 |
-
meta[idx]["large_file_url"],
|
30 |
)
|
31 |
)
|
32 |
|
@@ -37,15 +37,15 @@ with gr.Blocks() as demo:
|
|
37 |
with gr.Row():
|
38 |
joined = gr.Text(label="generated prompt", show_copy_button=True)
|
39 |
with gr.Row(equal_height=True):
|
40 |
-
text_char = gr.Markdown(
|
41 |
-
text_outfit = gr.Markdown(
|
42 |
-
text_action = gr.Markdown(
|
43 |
-
text_scene = gr.Markdown(
|
44 |
with gr.Row(equal_height=True):
|
45 |
-
img_char = gr.
|
46 |
-
img_outfit = gr.
|
47 |
-
img_action = gr.
|
48 |
-
img_scene = gr.
|
49 |
button.click(
|
50 |
do,
|
51 |
[],
|
|
|
26 |
for p, idx in zip(parts, idxs)
|
27 |
for _ in (
|
28 |
f"{p} ([danbooru post](https://danbooru.donmai.us/posts/{meta[idx]['id']}))",
|
29 |
+
f'',
|
30 |
)
|
31 |
)
|
32 |
|
|
|
37 |
with gr.Row():
|
38 |
joined = gr.Text(label="generated prompt", show_copy_button=True)
|
39 |
with gr.Row(equal_height=True):
|
40 |
+
text_char = gr.Markdown()
|
41 |
+
text_outfit = gr.Markdown()
|
42 |
+
text_action = gr.Markdown()
|
43 |
+
text_scene = gr.Markdown()
|
44 |
with gr.Row(equal_height=True):
|
45 |
+
img_char = gr.Markdown()
|
46 |
+
img_outfit = gr.Markdown()
|
47 |
+
img_action = gr.Markdown()
|
48 |
+
img_scene = gr.Markdown()
|
49 |
button.click(
|
50 |
do,
|
51 |
[],
|