ysharma HF staff commited on
Commit
10264fb
1 Parent(s): 4f9fd57

update layout with accordion

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -97,7 +97,7 @@ with gr.Blocks(css = """#label_mid {padding-top: 2px; padding-bottom: 2px;}
97
  pai_prompt = gr.Textbox(label="Image prompt from PlaygroundAI dataset", elem_id="pai_prompt")
98
 
99
  gr.HTML('''<center><a href="https://huggingface.co/spaces/ysharma/Blip_PlaygroundAI?duplicate=true"><img src="https://bit.ly/3gLdBN6" alt="Duplicate Space"></a></center>
100
- </p></div>'''))
101
 
102
  image_in.change(Image_similarity_search, [image_in, search_query], [pai_prompt, img_search], api_name="PlaygroundAI_image_search" )
103
  search_query.submit(Image_similarity_search, image_in, [pai_prompt, img_search], api_name='PlaygroundAI_text_search' )
 
97
  pai_prompt = gr.Textbox(label="Image prompt from PlaygroundAI dataset", elem_id="pai_prompt")
98
 
99
  gr.HTML('''<center><a href="https://huggingface.co/spaces/ysharma/Blip_PlaygroundAI?duplicate=true"><img src="https://bit.ly/3gLdBN6" alt="Duplicate Space"></a></center>
100
+ </p></div>''')
101
 
102
  image_in.change(Image_similarity_search, [image_in, search_query], [pai_prompt, img_search], api_name="PlaygroundAI_image_search" )
103
  search_query.submit(Image_similarity_search, image_in, [pai_prompt, img_search], api_name='PlaygroundAI_text_search' )