marinap commited on
Commit
d79a08c
1 Parent(s): 9818af2

gallery args cleanup: older gradio version is installed on top of requirements.txt

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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], preview = True, height="auto", object_fit = "scale-down")
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__":