Spaces:
Sleeping
Sleeping
umyuu
commited on
Commit
·
24090d2
1
Parent(s):
d2f0d15
Advanced optionsのアコーディオンを追加しました。
Browse files
app.py
CHANGED
@@ -146,12 +146,6 @@ with gr.Blocks(
|
|
146 |
Thank you for your interest!
|
147 |
""")
|
148 |
|
149 |
-
algorithm_type = gr.Radio(
|
150 |
-
["SpectralResidual", "FineGrained"],
|
151 |
-
label="Saliency",
|
152 |
-
value="SpectralResidual",
|
153 |
-
interactive=True
|
154 |
-
)
|
155 |
submit_button = gr.Button("submit", variant="primary")
|
156 |
with gr.Tab("input", elem_id="input_tab"):
|
157 |
image_input = gr.Image(label="input", show_label=True, sources=["upload", "clipboard"])
|
@@ -160,7 +154,14 @@ with gr.Blocks(
|
|
160 |
with gr.Tab("overlay(HOT)", elem_id="hot_tab"):
|
161 |
image_overlay_hot = gr.Image(label="hot", show_label=True, interactive=False)
|
162 |
|
163 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
164 |
with gr.Accordion("Sample Image Gallery", open=False):
|
165 |
gr.Markdown("""
|
166 |
### 画像のライセンス表示
|
|
|
146 |
Thank you for your interest!
|
147 |
""")
|
148 |
|
|
|
|
|
|
|
|
|
|
|
|
|
149 |
submit_button = gr.Button("submit", variant="primary")
|
150 |
with gr.Tab("input", elem_id="input_tab"):
|
151 |
image_input = gr.Image(label="input", show_label=True, sources=["upload", "clipboard"])
|
|
|
154 |
with gr.Tab("overlay(HOT)", elem_id="hot_tab"):
|
155 |
image_overlay_hot = gr.Image(label="hot", show_label=True, interactive=False)
|
156 |
|
157 |
+
with gr.Accordion("Advanced options", open=False):
|
158 |
+
algorithm_type = gr.Radio(
|
159 |
+
["SpectralResidual", "FineGrained"],
|
160 |
+
label="Saliency",
|
161 |
+
value="SpectralResidual",
|
162 |
+
interactive=True
|
163 |
+
)
|
164 |
+
|
165 |
with gr.Accordion("Sample Image Gallery", open=False):
|
166 |
gr.Markdown("""
|
167 |
### 画像のライセンス表示
|