KoonJamesZ commited on
Commit
648540e
·
verified ·
1 Parent(s): c5ebe31

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -7
app.py CHANGED
@@ -45,13 +45,11 @@ def gradio_interface(query_text):
45
  with gr.Blocks() as app:
46
  gr.Markdown("<h1>White Stride Red Search (GTE-Qwen2)</h1>")
47
 
48
- # Row to align the text box and button horizontally
49
- with gr.Row():
50
- # Input text box for the search query
51
- search_input = gr.Textbox(label="Search Query", placeholder="Enter search text", interactive=True)
52
-
53
- # Search button next to the text box
54
- search_button = gr.Button("Search")
55
 
56
  # Output table for displaying results
57
  search_output = gr.DataFrame(label="Search Results")
 
45
  with gr.Blocks() as app:
46
  gr.Markdown("<h1>White Stride Red Search (GTE-Qwen2)</h1>")
47
 
48
+ # Input text box for the search query
49
+ search_input = gr.Textbox(label="Search Query", placeholder="Enter search text", interactive=True)
50
+
51
+ # Search button below the text box
52
+ search_button = gr.Button("Search")
 
 
53
 
54
  # Output table for displaying results
55
  search_output = gr.DataFrame(label="Search Results")