TensorCruncher commited on
Commit
bf42d19
Β·
verified Β·
1 Parent(s): 0b97a05

Update app.py

Browse files

Add button color, Update description

Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -60,6 +60,7 @@ def predict(input_text, input_image):
60
 
61
  with gr.Blocks() as demo:
62
  gr.Markdown("## Animal Image Search 🐈 🏞️ πŸ”Ž ")
 
63
  gr.Markdown("Note: Make sure only one input field (text or image) is populated before searching")
64
 
65
  with gr.Row():
@@ -78,7 +79,7 @@ with gr.Blocks() as demo:
78
 
79
  output = gr.Gallery(label="Top Matches with Captions")
80
 
81
- submit = gr.Button("Search")
82
  submit.click(predict, inputs=[text_input, image_input], outputs=output)
83
 
84
  demo.launch()
 
60
 
61
  with gr.Blocks() as demo:
62
  gr.Markdown("## Animal Image Search 🐈 🏞️ πŸ”Ž ")
63
+ gr.Markdown("Search database of 5400 animal images using text or image queries. For list of animal categories (90 animals x 60 images = 5400 images) visit [GitHub].(https://github.com/TensorCruncher/animal-image-search/blob/main/animals.txt)\n")
64
  gr.Markdown("Note: Make sure only one input field (text or image) is populated before searching")
65
 
66
  with gr.Row():
 
79
 
80
  output = gr.Gallery(label="Top Matches with Captions")
81
 
82
+ submit = gr.Button("Search", variant="primary")
83
  submit.click(predict, inputs=[text_input, image_input], outputs=output)
84
 
85
  demo.launch()