DawnC commited on
Commit
816f0cb
·
1 Parent(s): a5640f9

Update description_search_ui.py

Browse files
Files changed (1) hide show
  1. description_search_ui.py +6 -6
description_search_ui.py CHANGED
@@ -1,8 +1,8 @@
1
 
2
  import gradio as gr
3
 
4
- def create_description_search_tab() -> gr.Column:
5
- """創建描述搜索頁面的UI組件"""
6
  guide_html = """
7
  <div class="breed-search-container">
8
  <div class="description-guide">
@@ -154,8 +154,8 @@ def create_description_search_tab() -> gr.Column:
154
  return description_input, search_button, result_output
155
 
156
 
157
- def create_description_search_tab() -> gr.Column:
158
- """創建描述搜索頁面的UI組件"""
159
  guide_html = """
160
  <div class="breed-search-container">
161
  <div class="description-guide">
@@ -218,7 +218,7 @@ def create_description_search_tab() -> gr.Column:
218
  </div>
219
  """
220
 
221
- # 添加CSS樣式
222
  css = """
223
  <style>
224
  .breed-search-container {
@@ -301,7 +301,7 @@ def create_description_search_tab() -> gr.Column:
301
  size="lg"
302
  )
303
 
304
- # 加載消息(新增)
305
  loading_msg = gr.HTML("""
306
  <div style='text-align: center; color: #666;'>
307
  <p><b>Finding your perfect match...</b></p>
 
1
 
2
  import gradio as gr
3
 
4
+ def create_description_search_tab():
5
+ """創建描述搜索頁面的UI程式碼"""
6
  guide_html = """
7
  <div class="breed-search-container">
8
  <div class="description-guide">
 
154
  return description_input, search_button, result_output
155
 
156
 
157
+ def create_description_search_tab():
158
+ """創建描述搜索頁面的UI程式碼"""
159
  guide_html = """
160
  <div class="breed-search-container">
161
  <div class="description-guide">
 
218
  </div>
219
  """
220
 
221
+ # 增加 CSS 的樣式
222
  css = """
223
  <style>
224
  .breed-search-container {
 
301
  size="lg"
302
  )
303
 
304
+ # 加載消息
305
  loading_msg = gr.HTML("""
306
  <div style='text-align: center; color: #666;'>
307
  <p><b>Finding your perfect match...</b></p>