DawnC commited on
Commit
fc97a83
·
1 Parent(s): 8748639

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -1
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>