暫無描述
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. <html>
  2. <head>
  3. <style>
  4. .button {
  5. background-color: #000000; /* Green */
  6. border: none;
  7. color: white;
  8. padding: 15px 32px;
  9. text-align: center;
  10. text-decoration: none;
  11. display: inline-block;
  12. margin: 4px 2px;
  13. cursor: pointer;
  14. }
  15. .button1 {font-size: 10px;}
  16. .button2 {font-size: 12px;}
  17. .button3 {font-size: 16px;}
  18. .button4 {font-size: 50px;}
  19. .button5 {font-size: 24px;border-radius: 12px;}
  20. </style>
  21. </head>
  22. <body>
  23. <div style="background-image: url('https://lh3.googleusercontent.com/p/AF1QipONWF8G50u9Bu-dklcj3kzesofOn8Z0q0LdHeU1=w1080-h608-p-no-v0');
  24. /* Full height */
  25. height: 100%;
  26. / Center and scale the image nicely /
  27. background-position: center;
  28. background-repeat: no-repeat;
  29. background-size: cover;">
  30. <br> <br>
  31. <form action="/upload" method="POST" enctype="multipart/form-data">
  32. <div class="form-group">
  33. <div class="custom-file">
  34. <input type="file" class="button button5" name="image" id="image"> <br> <br><br>
  35. <div class="bg"></div>
  36. <input class="button button5" type="submit"> <br><br></div></div></form>
  37. <form action="{{ url_for('predict') }}" method="GET">
  38. <input type="submit" class="button button5" value="predict"></form>
  39. <br>
  40. <form action="{{ url_for('json') }}" method="GET">
  41. <input type="submit" class="button button5" value="json"></form>
  42. <br>
  43. <style>
  44. body {
  45. width: 100%;
  46. height:100%;
  47. font-family: 'Helvetica';
  48. background-color:#000000;
  49. color: #fff;
  50. font-size: 24px;
  51. text-align:center;
  52. letter-spacing:1.4px;
  53. }
  54. </style>
  55. </body>
  56. </html>