Spaces:
Runtime error
Runtime error
gallery args cleanup: older gradio version is installed on top of requirements.txt
Browse files
app.py
CHANGED
@@ -86,7 +86,7 @@ with gr.Blocks(theme=gr.themes.Soft()) as demo:
|
|
86 |
prompt_box = gr.Textbox(label = 'Enter your prompt', lines = 3)
|
87 |
btn_search = gr.Button("Find images")
|
88 |
|
89 |
-
gallery = gr.Gallery().style(grid = [5],
|
90 |
btn_search.click(find_topk, inputs = prompt_box, outputs = gallery)
|
91 |
|
92 |
if __name__ == "__main__":
|
|
|
86 |
prompt_box = gr.Textbox(label = 'Enter your prompt', lines = 3)
|
87 |
btn_search = gr.Button("Find images")
|
88 |
|
89 |
+
gallery = gr.Gallery().style(grid = [5], height="auto")
|
90 |
btn_search.click(find_topk, inputs = prompt_box, outputs = gallery)
|
91 |
|
92 |
if __name__ == "__main__":
|