DawnC commited on
Commit
dfda980
·
1 Parent(s): c45bcfb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -547,12 +547,11 @@ async def predict(image):
547
  buttons_html += f'<button class="breed-button" onclick="handle_button_click(\'{button_id}\')">{breed}</button>'
548
  buttons.append(button_id)
549
  buttons_html += '</div>'
550
- dogs_info += buttons_html # new
551
 
552
  else:
553
  dogs_info += "<p>The image is unclear or the breed is not in the dataset. Please upload a clearer image.</p>"
554
 
555
- dogs_info += '</div>'
556
 
557
  # dogs_info += buttons_html
558
 
 
547
  buttons_html += f'<button class="breed-button" onclick="handle_button_click(\'{button_id}\')">{breed}</button>'
548
  buttons.append(button_id)
549
  buttons_html += '</div>'
 
550
 
551
  else:
552
  dogs_info += "<p>The image is unclear or the breed is not in the dataset. Please upload a clearer image.</p>"
553
 
554
+ #dogs_info += '</div>'
555
 
556
  # dogs_info += buttons_html
557