lhoestq HF staff commited on
Commit
d73459b
·
1 Parent(s): f1cea12

fix mobile

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -1,5 +1,5 @@
1
  import time
2
- from itertools import count, islice
3
  from functools import partial
4
  from typing import Iterable, Iterator, TypeVar
5
 
@@ -140,10 +140,10 @@ with gr.Blocks(css=css) as demo:
140
  with gr.Row():
141
  with gr.Column(scale=4, min_width=0):
142
  pass
143
- with gr.Column(scale=9):
144
- search_bar = gr.Textbox(max_lines=1, placeholder="Search datasets, get infinite results", show_label=False, container=False)
145
- with gr.Column(min_width=64):
146
- search_button = gr.Button("🔍", variant="primary")
147
  with gr.Column(scale=4, min_width=0):
148
  pass
149
  with gr.Row():
 
1
  import time
2
+ from itertools import islice
3
  from functools import partial
4
  from typing import Iterable, Iterator, TypeVar
5
 
 
140
  with gr.Row():
141
  with gr.Column(scale=4, min_width=0):
142
  pass
143
+ with gr.Column(scale=10):
144
+ with gr.Row():
145
+ search_bar = gr.Textbox(max_lines=1, placeholder="Search datasets, get infinite results", show_label=False, container=False, scale=9)
146
+ search_button = gr.Button("🔍", variant="primary", scale=1)
147
  with gr.Column(scale=4, min_width=0):
148
  pass
149
  with gr.Row():