radames fffiloni commited on
Commit
6a5848f
1 Parent(s): ffc3fb6

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

Browse files

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


Co-authored-by: Sylvain Filoni <[email protected]>

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>''')