Spaces:
Running
Running
ZhangYuhan
commited on
Commit
ยท
0401ffb
1
Parent(s):
6c1c5e7
update serve
Browse files- serve/gradio_web_i2s.py +13 -18
serve/gradio_web_i2s.py
CHANGED
@@ -63,13 +63,14 @@ Find out who is the ๐ฅconditional image generation models! More models are goi
|
|
63 |
show_label=False,
|
64 |
visible=True,
|
65 |
interactive=False, ## only support offline
|
|
|
66 |
elem_id="input_box",
|
67 |
)
|
68 |
sample_btn = gr.Button(value="๐ฒ Sample", variant="primary")
|
69 |
-
send_btn = gr.Button(value="๐ค Send", variant="primary")
|
70 |
-
clear_btn = gr.Button(value="๐๏ธ Clear", interactive=False)
|
71 |
-
regenerate_btn = gr.Button(value="๐ Regenerate", interactive=False)
|
72 |
-
share_btn = gr.Button(value="๐ท Share")
|
73 |
with gr.Column():
|
74 |
normal_left = gr.Image(label = "Normal A",
|
75 |
interactive=False, show_download_button=True)
|
@@ -82,6 +83,8 @@ Find out who is the ๐ฅconditional image generation models! More models are goi
|
|
82 |
interactive=False, show_download_button=True,)
|
83 |
|
84 |
with gr.Row():
|
|
|
|
|
85 |
with gr.Column():
|
86 |
model_selector_left =gr.Markdown("", visible=False)
|
87 |
with gr.Column():
|
@@ -154,20 +157,12 @@ Find out who is the ๐ฅconditional image generation models! More models are goi
|
|
154 |
value="๐ Both are bad", visible=False, interactive=False
|
155 |
)
|
156 |
|
157 |
-
|
158 |
-
|
159 |
-
|
160 |
-
|
161 |
-
|
162 |
-
|
163 |
-
# elem_id="input_box",
|
164 |
-
# )
|
165 |
-
# with gr.Column():
|
166 |
-
# sample_btn = gr.Button(value="๐ฒ Sample", variant="primary")
|
167 |
-
# send_btn = gr.Button(value="๐ค Send", variant="primary")
|
168 |
-
# clear_btn = gr.Button(value="๐๏ธ Clear", interactive=False)
|
169 |
-
# regenerate_btn = gr.Button(value="๐ Regenerate", interactive=False)
|
170 |
-
# share_btn = gr.Button(value="๐ท Share")
|
171 |
|
172 |
gr.Markdown(acknowledgment_md, elem_id="ack_markdown")
|
173 |
|
|
|
63 |
show_label=False,
|
64 |
visible=True,
|
65 |
interactive=False, ## only support offline
|
66 |
+
label = "Prompt",
|
67 |
elem_id="input_box",
|
68 |
)
|
69 |
sample_btn = gr.Button(value="๐ฒ Sample", variant="primary")
|
70 |
+
# send_btn = gr.Button(value="๐ค Send", variant="primary")
|
71 |
+
# clear_btn = gr.Button(value="๐๏ธ Clear", interactive=False)
|
72 |
+
# regenerate_btn = gr.Button(value="๐ Regenerate", interactive=False)
|
73 |
+
# share_btn = gr.Button(value="๐ท Share")
|
74 |
with gr.Column():
|
75 |
normal_left = gr.Image(label = "Normal A",
|
76 |
interactive=False, show_download_button=True)
|
|
|
83 |
interactive=False, show_download_button=True,)
|
84 |
|
85 |
with gr.Row():
|
86 |
+
with gr.Column():
|
87 |
+
gr.Markdown("", visible=False)
|
88 |
with gr.Column():
|
89 |
model_selector_left =gr.Markdown("", visible=False)
|
90 |
with gr.Column():
|
|
|
157 |
value="๐ Both are bad", visible=False, interactive=False
|
158 |
)
|
159 |
|
160 |
+
with gr.Row():
|
161 |
+
# sample_btn = gr.Button(value="๐ฒ Sample", variant="primary")
|
162 |
+
clear_btn = gr.Button(value="๐๏ธ Clear", interactive=False)
|
163 |
+
share_btn = gr.Button(value="๐ท Share")
|
164 |
+
regenerate_btn = gr.Button(value="๐ Regenerate", interactive=False)
|
165 |
+
send_btn = gr.Button(value="๐ค Send", variant="primary")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
166 |
|
167 |
gr.Markdown(acknowledgment_md, elem_id="ack_markdown")
|
168 |
|