Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -400,7 +400,10 @@ async def predict(image):
|
|
400 |
else:
|
401 |
dogs_info += "<p>The image is unclear or the breed is not in the dataset. Please upload a clearer image.</p>"
|
402 |
|
403 |
-
dogs_info += '</div>'
|
|
|
|
|
|
|
404 |
|
405 |
html_output = f"""
|
406 |
<style>
|
|
|
400 |
else:
|
401 |
dogs_info += "<p>The image is unclear or the breed is not in the dataset. Please upload a clearer image.</p>"
|
402 |
|
403 |
+
dogs_info += '</div>'
|
404 |
+
|
405 |
+
# 清空 buttons_html 確保不會在整體上出現重複
|
406 |
+
buttons_html = ""
|
407 |
|
408 |
html_output = f"""
|
409 |
<style>
|