Spaces:
Runtime error
Runtime error
Remove grid argument
Browse files
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"
|
| 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])
|