jykoh commited on
Commit
b2e8964
Β·
1 Parent(s): a3cef8a

Remove grid argument

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -199,7 +199,7 @@ with gr.Blocks(css=css) as demo:
199
  minimum=0.0, maximum=1.0, value=0.0, step=0.1, interactive=True, label="Temperature (0 for deterministic, higher for more randomness)")
200
 
201
  gallery = gr.Gallery(
202
- value=[Image.open(e) for e in examples], label="Example Conversations", show_label=True, elem_id="gallery", grid=[2], height="auto")
203
 
204
  text_input.submit(generate_for_prompt, [text_input, gr_state, ret_scale_factor,
205
  gr_max_len, gr_temperature], [gr_state, chatbot, share_group, save_group])
 
199
  minimum=0.0, maximum=1.0, value=0.0, step=0.1, interactive=True, label="Temperature (0 for deterministic, higher for more randomness)")
200
 
201
  gallery = gr.Gallery(
202
+ value=[Image.open(e) for e in examples], label="Example Conversations", show_label=True, elem_id="gallery") #, grid=[2], height="auto")
203
 
204
  text_input.submit(generate_for_prompt, [text_input, gr_state, ret_scale_factor,
205
  gr_max_len, gr_temperature], [gr_state, chatbot, share_group, save_group])