Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -289,7 +289,7 @@ async def predict(image):
|
|
289 |
buttons_html += f'<button class="breed-button" onclick="handle_button_click(\'{button_id}\')">{breed}</button>'
|
290 |
buttons.append(button_id)
|
291 |
|
292 |
-
|
293 |
|
294 |
else:
|
295 |
dogs_info += "<p>The image is unclear or the breed is not in the dataset. Please upload a clearer image.</p>"
|
|
|
289 |
buttons_html += f'<button class="breed-button" onclick="handle_button_click(\'{button_id}\')">{breed}</button>'
|
290 |
buttons.append(button_id)
|
291 |
|
292 |
+
dogs_info += f'<div class="breed-buttons">{buttons_html}</div>' # new, if not work, delete it
|
293 |
|
294 |
else:
|
295 |
dogs_info += "<p>The image is unclear or the breed is not in the dataset. Please upload a clearer image.</p>"
|