laiviet commited on
Commit
1f4f8d3
1 Parent(s): 6eebaea

Update app.py to compatible with gradio version >=4.0.0

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -138,7 +138,7 @@ with demo:
138
  gr.Markdown(INTRO_TEXT, elem_classes="markdown-text")
139
  gr.Markdown(HOW_TO, elem_classes="markdown-text")
140
 
141
- with gr.Box():
142
  search_bar = gr.Textbox(
143
  placeholder="Search models and languages...", show_label=False, elem_id="search-bar"
144
  )
 
138
  gr.Markdown(INTRO_TEXT, elem_classes="markdown-text")
139
  gr.Markdown(HOW_TO, elem_classes="markdown-text")
140
 
141
+ with gr.Group():
142
  search_bar = gr.Textbox(
143
  placeholder="Search models and languages...", show_label=False, elem_id="search-bar"
144
  )