replace gr.Box() with gr.Group()

#2
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -11,7 +11,7 @@ def show_template(name, description, authors, url, image_url, more_info=None):
11
  if isinstance(authors, str):
12
  authors = [authors]
13
  authors_md = ", ".join([name_to_markdown(author, network) for author, network in authors])
14
- with gr.Box():
15
  with gr.Row():
16
  with gr.Column(scale=1):
17
  gr.HTML(f'''<img src="{image_url}" alt="{name}-thumbnail" height=256 width=256>''')
 
11
  if isinstance(authors, str):
12
  authors = [authors]
13
  authors_md = ", ".join([name_to_markdown(author, network) for author, network in authors])
14
+ with gr.Group():
15
  with gr.Row():
16
  with gr.Column(scale=1):
17
  gr.HTML(f'''<img src="{image_url}" alt="{name}-thumbnail" height=256 width=256>''')