Spaces:
Build error
Build error
UI changes
Browse files
app.py
CHANGED
@@ -181,10 +181,10 @@ with gr.Blocks(css=css) as demo:
|
|
181 |
gr_temperature = gr.Slider(
|
182 |
minimum=0.0, maximum=1.0, value=0.0, interactive=True, label="Temperature (0 for deterministic, higher for more randomness)")
|
183 |
|
184 |
-
with gr.Row(
|
185 |
gallery = gr.Gallery(
|
186 |
value=[Image.open(e) for e in examples], label="Example Conversations", show_label=True, elem_id="gallery",
|
187 |
-
).style(grid=[5], height="
|
188 |
|
189 |
text_input.submit(generate_for_prompt, [text_input, gr_state, ret_scale_factor,
|
190 |
max_ret_images, gr_max_len, gr_temperature], [gr_state, chatbot, share_group, save_group])
|
|
|
181 |
gr_temperature = gr.Slider(
|
182 |
minimum=0.0, maximum=1.0, value=0.0, interactive=True, label="Temperature (0 for deterministic, higher for more randomness)")
|
183 |
|
184 |
+
with gr.Row():
|
185 |
gallery = gr.Gallery(
|
186 |
value=[Image.open(e) for e in examples], label="Example Conversations", show_label=True, elem_id="gallery",
|
187 |
+
).style(grid=[5], height="auto")
|
188 |
|
189 |
text_input.submit(generate_for_prompt, [text_input, gr_state, ret_scale_factor,
|
190 |
max_ret_images, gr_max_len, gr_temperature], [gr_state, chatbot, share_group, save_group])
|