arxivgpt kim
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -125,7 +125,7 @@ def merge(org_image, add_image, scale, position, display_size):
|
|
125 |
with gr.Blocks() as demo:
|
126 |
with gr.Tab("Background Removal"):
|
127 |
with gr.Column():
|
128 |
-
gr.Markdown("
|
129 |
gr.HTML('''
|
130 |
<p style="margin-bottom: 10px; font-size: 94%">
|
131 |
This is a demo for BRIA RMBG 1.4 that using
|
@@ -154,16 +154,16 @@ with gr.Blocks() as demo:
|
|
154 |
)
|
155 |
|
156 |
|
157 |
-
|
158 |
-
|
159 |
-
|
160 |
-
|
161 |
-
|
162 |
-
|
163 |
-
|
164 |
-
|
165 |
-
|
166 |
-
|
167 |
-
|
168 |
|
169 |
demo.launch()
|
|
|
125 |
with gr.Blocks() as demo:
|
126 |
with gr.Tab("Background Removal"):
|
127 |
with gr.Column():
|
128 |
+
gr.Markdown("누끼따기의 왕 '누킹'(Nuking)")
|
129 |
gr.HTML('''
|
130 |
<p style="margin-bottom: 10px; font-size: 94%">
|
131 |
This is a demo for BRIA RMBG 1.4 that using
|
|
|
154 |
)
|
155 |
|
156 |
|
157 |
+
with gr.TabItem("Image Search"):
|
158 |
+
with gr.Column():
|
159 |
+
gr.Markdown("### FREE Image Search")
|
160 |
+
search_query = gr.Textbox(label="사진 검색")
|
161 |
+
search_btn = gr.Button("검색")
|
162 |
+
images_output = gr.Gallery(label="검색 결과 이미지")
|
163 |
+
search_btn.click(
|
164 |
+
fn=show_search_results,
|
165 |
+
inputs=search_query,
|
166 |
+
outputs=images_output
|
167 |
+
)
|
168 |
|
169 |
demo.launch()
|