Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -322,7 +322,7 @@ async def predict(image):
|
|
322 |
dogs_info += f"<li><strong>{breed}</strong> ({prob:.2f}% confidence)</li>"
|
323 |
# 正確生成按鈕並將其插入各品種下
|
324 |
dogs_info += f'<button class="breed-button" style="margin-left: 10px;" onclick="handle_button_click(\'{button_id}\')">{breed}</button>'
|
325 |
-
buttons.append(button_id)
|
326 |
dogs_info += "</ul>"
|
327 |
|
328 |
else:
|
|
|
322 |
dogs_info += f"<li><strong>{breed}</strong> ({prob:.2f}% confidence)</li>"
|
323 |
# 正確生成按鈕並將其插入各品種下
|
324 |
dogs_info += f'<button class="breed-button" style="margin-left: 10px;" onclick="handle_button_click(\'{button_id}\')">{breed}</button>'
|
325 |
+
#buttons.append(button_id)
|
326 |
dogs_info += "</ul>"
|
327 |
|
328 |
else:
|