DawnC commited on
Commit
b62a32e
·
1 Parent(s): d77b4db

Update description_search_ui.py

Browse files
Files changed (1) hide show
  1. description_search_ui.py +3 -4
description_search_ui.py CHANGED
@@ -274,12 +274,12 @@ def create_description_search_tab() -> gr.Column:
274
  </style>
275
  """
276
 
277
- with gr.Column():
278
  gr.HTML(css + guide_html)
279
 
280
  description_input = gr.Textbox(
281
  label="",
282
- placeholder="Example: I'm looking for a medium-sized, friendly dog that's good with kids...",
283
  lines=5
284
  )
285
 
@@ -289,7 +289,6 @@ def create_description_search_tab() -> gr.Column:
289
  size="lg"
290
  )
291
 
292
- # 加載狀態提示
293
  processing_message = gr.HTML(
294
  value="<div style='text-align: center; padding: 20px; color: #666;'><p><b>Finding your perfect match...</b></p><p>Please wait 15-20 seconds while we analyze your preferences.</p></div>",
295
  visible=False
@@ -321,4 +320,4 @@ def create_description_search_tab() -> gr.Column:
321
  outputs=[description_input]
322
  )
323
 
324
- return description_input, search_button, result_output
 
274
  </style>
275
  """
276
 
277
+ with gr.Column():
278
  gr.HTML(css + guide_html)
279
 
280
  description_input = gr.Textbox(
281
  label="",
282
+ placeholder="Example: I'm looking for a medium-sized, friendly dog...",
283
  lines=5
284
  )
285
 
 
289
  size="lg"
290
  )
291
 
 
292
  processing_message = gr.HTML(
293
  value="<div style='text-align: center; padding: 20px; color: #666;'><p><b>Finding your perfect match...</b></p><p>Please wait 15-20 seconds while we analyze your preferences.</p></div>",
294
  visible=False
 
320
  outputs=[description_input]
321
  )
322
 
323
+ return description_input, search_button, result_output, processing_message