EdZ543 commited on
Commit
e7139ac
1 Parent(s): 69d76de

Adjust gallery height

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -29,7 +29,7 @@ def recommend(index):
29
 
30
  css = """
31
  .gradio-container {align-items: center}
32
- #container {max-width: 800px}
33
  """
34
 
35
 
@@ -45,7 +45,7 @@ with gr.Blocks(css=css) as space:
45
 
46
  dropdown = gr.Dropdown(label="Enter an anime", choices=title_list, type="index")
47
 
48
- gallery = gr.Gallery(label="Recommendations", rows=1, columns=3)
49
 
50
  dropdown.change(fn=recommend, inputs=dropdown, outputs=gallery)
51
 
 
29
 
30
  css = """
31
  .gradio-container {align-items: center}
32
+ #container {max-width: 795px}
33
  """
34
 
35
 
 
45
 
46
  dropdown = gr.Dropdown(label="Enter an anime", choices=title_list, type="index")
47
 
48
+ gallery = gr.Gallery(label="Recommendations", rows=1, columns=3, height="265")
49
 
50
  dropdown.change(fn=recommend, inputs=dropdown, outputs=gallery)
51