Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
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 |
|