Skip to content

Commit

Permalink
fix github link
Browse files Browse the repository at this point in the history
  • Loading branch information
cyyeh committed Jun 16, 2020
1 parent 5982f17 commit 325cb6e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion web/dist/index.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!doctype html><html lang="en" class="js"><head><title>狗狗百科</title><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><meta name="theme-color" content="#4db6ac"><meta name="apple-mobile-web-app-status-bar-style" content="#4db6ac"><meta name="apple-mobile-web-app-capable" content="yes"><meta name="apple-touch-fullscreen" content="yes"/><meta name="apple-mobile-web-app-title" content="狗狗百科"><link rel="shortcut icon" type="image/ico" href="images/favicon.ico"/><meta property="og:title" content="狗狗百科"><meta property="og:description" content="能夠偵測多達133種狗狗品種"/><meta property="og:image" content="images/cover-dog.jpg"><link async rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0/css/materialize.min.css"><link async rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons"><link async rel="stylesheet" href="https://cdn.jsdelivr.net/npm/w3--css@1.0.0/w3.min.css"><link async href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet" integrity="sha384-wvfXpqpZZVQGK6TAh5PVlGOfQNHSoD2xbE+QkPxCAFlNEevoEH3Sl0sibVcOQVnN" crossorigin="anonymous"><link async rel="stylesheet" href="css/styles.css"><link rel="manifest" href="manifest.json"><link rel="icon" sizes="192x192" href="images/icons/icon-192x192.png"><link rel="apple-touch-icon" href="images/icons/icon-72x72.png" sizes="72x72"><link rel="apple-touch-icon" href="images/icons/icon-96x96.png" sizes="96x96"><link rel="apple-touch-icon" href="images/icons/icon-144x144.png" sizes="144x144"><link rel="apple-touch-icon" href="images/icons/icon-192x192.png" sizes="192x192"><meta name="msapplication-TileImage144x144" content="images/icons/icon-144x144.png"></head><body><header><nav id="nav-container"><div class="nav-wrapper teal lighten-2"><a href="/" class="brand-logo center"><i class="material-icons" id="logo-icon">pets</i> <span id="website-title">狗狗百科</span></a><ul id="install-container" class="left hidden"><li><a id="but-install"><i class="material-icons">file_download</i></a></li></ul><ul class="right"><li><a class="btn-flat" id="translation-button">En</a></li><li><a href="https://github.com/cyyeh" target="_blank" id="github-icon-button"><i id="github-icon" class="fa fa-github" aria-hidden="true"></i></a></li></ul></div></nav></header><main><div id="container"><div class="carousel carousel-slider center" id="project-intro-slider"><div class="carousel-fixed-item center"><a id="cover-button" class="btn waves-effect white grey-text darken-text-2" href="https://github.com/cyyeh/dog-breed-classifier/blob/master/dogBreeds.json" target="_blank">查看目前能辨識的狗狗品種</a></div><div id="cover-1" class="carousel-item white orange-text lazyload" data-bg="./images/cover-dog.jpg" href="#one!"><h2 id="cover-1-title">一秒拍照來更認識狗狗吧!</h2><p id="cover-1-subtitle" class="black-text cover-subtitle">能偵測多達133種狗狗品種</p></div><div id="cover-2" class="carousel-item white orange-text lazyload" data-bg="./images/cover-wiki.png" href="#two!"><h2 id="cover-2-title">一次認識3種狗狗</h2><p id="cover-2-subtitle" class="black-text cover-subtitle">附上維基連結讓你成為狗狗達人</p></div><div id="cover-3" class="carousel-item white orange-text lazyload" data-bg="./images/cover-voice.png" href="#three!"><h2 id="cover-3-title">還有中文/英文發音功能</h2><p id="cover-3-subtitle" class="black-text cover-subtitle">讓你同時學習雙語言</p></div><div id="cover-4" class="carousel-item white white-text lighten-3 lazyload" data-bg="./images/cover-ai.jpg" href="#four!"><h2 id="cover-4-title">透過深度學習賦予強大的辨識能力</h2><p id="cover-4-subtitle" class="black-text cover-subtitle">目前辨識準確度高達86-88%</p></div></div><div id="main-content"><div id="img-upload-container"><form action="#"><div class="file-field input-field"><div class="btn"><span><i class="material-icons">camera_alt</i></span> <input id="img-upload" type="file"></div><div class="file-path-wrapper"><input id="img-upload-text" class="file-path validate" accept="image/*" capture="camera" placeholder="拍照或上傳照片"/></div></div></form><div id="first-try-container"><div id="try-text">立馬試試</div><div class="row"><div class="col s12 customized-col"><div class="card"><div id="sample-dog-breed" class="card-image"><div id="load-img-progress" class="progress hidden"><div class="indeterminate"></div></div><img id="sample-breed-img" src=""> <span id="sample-breed-name" class="card-title"></span></div><div class="card-action center"><a id="sample-breed-predict" class="btn waves-effect white grey-text darken-text-2">進行預測</a></div></div></div></div></div><div id="img-preview-container"><img class="materialboxed" id="img-preview"></div><div id="progress-bar" class="hidden"><p id="progress-notes" class="center">如果您等待超過1-2秒仍然沒有結果,很可能是機器剛才休眠了,請多等待幾秒鐘。</p><div class="progress"><div class="indeterminate"></div></div></div><div id="prediction-results-container" class="hidden"><p id="prediction-results-headline">預測結果</p><hr/><p id="no-results-found"></p><div id="prediction-contents"><div class="breed-container"><a id="first-breed-name" class="dog-breed-name" href="#" target="_blank"></a> <i id="first-speaker-button" class="small material-icons speaker-button">keyboard_voice</i></div><div class="w3-grey w3-round w3-large dog-prob-progress-bar"><div id="first-breed-prob" class="w3-container w3-green w3-round dog-prob-progress-num"></div></div><br><div class="breed-container"><a id="second-breed-name" class="dog-breed-name" id="second-breed" href="#" target="_blank"></a> <i id="second-speaker-button" class="small material-icons speaker-button">keyboard_voice</i></div><div class="w3-grey w3-round w3-large dog-prob-progress-bar"><div id="second-breed-prob" class="w3-container w3-green w3-round dog-prob-progress-num"></div></div><br><div class="breed-container"><a id="third-breed-name" class="dog-breed-name" href="#" target="_blank"></a> <i id="third-speaker-button" class="small material-icons speaker-button">keyboard_voice</i></div><div class="w3-grey w3-round w3-large dog-prob-progress-bar"><div id="third-breed-prob" class="w3-container w3-green w3-round dog-prob-progress-num"></div></div><br></div></div></div><p id="requireHTTPS" class="hidden"><b>STOP!</b> This page <b>must</b> be served over HTTPS. Please <a>reload this page via HTTPS</a>.</p></div></div></main><footer class="page-footer teal lighten-2"><div class="footer-copyright"><div class="container center">© <span id="copyright-year"></span> <a class="grey-text text-lighten-3" href="https://linkedin.com/in/cyyeh" target="_blank">ChihYu <i class="material-icons" id="footer-link-icon">link</i></a></div></div></footer><script async>/*! modernizr 3.6.0 (Custom Build) | MIT *
<!doctype html><html lang="en" class="js"><head><title>狗狗百科</title><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><meta name="theme-color" content="#4db6ac"><meta name="apple-mobile-web-app-status-bar-style" content="#4db6ac"><meta name="apple-mobile-web-app-capable" content="yes"><meta name="apple-touch-fullscreen" content="yes"/><meta name="apple-mobile-web-app-title" content="狗狗百科"><link rel="shortcut icon" type="image/ico" href="images/favicon.ico"/><meta property="og:title" content="狗狗百科"><meta property="og:description" content="能夠偵測多達133種狗狗品種"/><meta property="og:image" content="images/cover-dog.jpg"><link async rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0/css/materialize.min.css"><link async rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons"><link async rel="stylesheet" href="https://cdn.jsdelivr.net/npm/w3--css@1.0.0/w3.min.css"><link async href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet" integrity="sha384-wvfXpqpZZVQGK6TAh5PVlGOfQNHSoD2xbE+QkPxCAFlNEevoEH3Sl0sibVcOQVnN" crossorigin="anonymous"><link async rel="stylesheet" href="css/styles.css"><link rel="manifest" href="manifest.json"><link rel="icon" sizes="192x192" href="images/icons/icon-192x192.png"><link rel="apple-touch-icon" href="images/icons/icon-72x72.png" sizes="72x72"><link rel="apple-touch-icon" href="images/icons/icon-96x96.png" sizes="96x96"><link rel="apple-touch-icon" href="images/icons/icon-144x144.png" sizes="144x144"><link rel="apple-touch-icon" href="images/icons/icon-192x192.png" sizes="192x192"><meta name="msapplication-TileImage144x144" content="images/icons/icon-144x144.png"></head><body><header><nav id="nav-container"><div class="nav-wrapper teal lighten-2"><a href="/" class="brand-logo center"><i class="material-icons" id="logo-icon">pets</i> <span id="website-title">狗狗百科</span></a><ul id="install-container" class="left hidden"><li><a id="but-install"><i class="material-icons">file_download</i></a></li></ul><ul class="right"><li><a class="btn-flat" id="translation-button">En</a></li><li><a href="https://github.com/cyyeh/dog-breed-classifier" target="_blank" id="github-icon-button"><i id="github-icon" class="fa fa-github" aria-hidden="true"></i></a></li></ul></div></nav></header><main><div id="container"><div class="carousel carousel-slider center" id="project-intro-slider"><div class="carousel-fixed-item center"><a id="cover-button" class="btn waves-effect white grey-text darken-text-2" href="https://github.com/cyyeh/dog-breed-classifier/blob/master/dogBreeds.json" target="_blank">查看目前能辨識的狗狗品種</a></div><div id="cover-1" class="carousel-item white orange-text lazyload" data-bg="./images/cover-dog.jpg" href="#one!"><h2 id="cover-1-title">一秒拍照來更認識狗狗吧!</h2><p id="cover-1-subtitle" class="black-text cover-subtitle">能偵測多達133種狗狗品種</p></div><div id="cover-2" class="carousel-item white orange-text lazyload" data-bg="./images/cover-wiki.png" href="#two!"><h2 id="cover-2-title">一次認識3種狗狗</h2><p id="cover-2-subtitle" class="black-text cover-subtitle">附上維基連結讓你成為狗狗達人</p></div><div id="cover-3" class="carousel-item white orange-text lazyload" data-bg="./images/cover-voice.png" href="#three!"><h2 id="cover-3-title">還有中文/英文發音功能</h2><p id="cover-3-subtitle" class="black-text cover-subtitle">讓你同時學習雙語言</p></div><div id="cover-4" class="carousel-item white white-text lighten-3 lazyload" data-bg="./images/cover-ai.jpg" href="#four!"><h2 id="cover-4-title">透過深度學習賦予強大的辨識能力</h2><p id="cover-4-subtitle" class="black-text cover-subtitle">目前辨識準確度高達86-88%</p></div></div><div id="main-content"><div id="img-upload-container"><form action="#"><div class="file-field input-field"><div class="btn"><span><i class="material-icons">camera_alt</i></span> <input id="img-upload" type="file"></div><div class="file-path-wrapper"><input id="img-upload-text" class="file-path validate" accept="image/*" capture="camera" placeholder="拍照或上傳照片"/></div></div></form><div id="first-try-container"><div id="try-text">立馬試試</div><div class="row"><div class="col s12 customized-col"><div class="card"><div id="sample-dog-breed" class="card-image"><div id="load-img-progress" class="progress hidden"><div class="indeterminate"></div></div><img id="sample-breed-img" src=""> <span id="sample-breed-name" class="card-title"></span></div><div class="card-action center"><a id="sample-breed-predict" class="btn waves-effect white grey-text darken-text-2">進行預測</a></div></div></div></div></div><div id="img-preview-container"><img class="materialboxed" id="img-preview"></div><div id="progress-bar" class="hidden"><p id="progress-notes" class="center">如果您等待超過1-2秒仍然沒有結果,很可能是機器剛才休眠了,請多等待幾秒鐘。</p><div class="progress"><div class="indeterminate"></div></div></div><div id="prediction-results-container" class="hidden"><p id="prediction-results-headline">預測結果</p><hr/><p id="no-results-found"></p><div id="prediction-contents"><div class="breed-container"><a id="first-breed-name" class="dog-breed-name" href="#" target="_blank"></a> <i id="first-speaker-button" class="small material-icons speaker-button">keyboard_voice</i></div><div class="w3-grey w3-round w3-large dog-prob-progress-bar"><div id="first-breed-prob" class="w3-container w3-green w3-round dog-prob-progress-num"></div></div><br><div class="breed-container"><a id="second-breed-name" class="dog-breed-name" id="second-breed" href="#" target="_blank"></a> <i id="second-speaker-button" class="small material-icons speaker-button">keyboard_voice</i></div><div class="w3-grey w3-round w3-large dog-prob-progress-bar"><div id="second-breed-prob" class="w3-container w3-green w3-round dog-prob-progress-num"></div></div><br><div class="breed-container"><a id="third-breed-name" class="dog-breed-name" href="#" target="_blank"></a> <i id="third-speaker-button" class="small material-icons speaker-button">keyboard_voice</i></div><div class="w3-grey w3-round w3-large dog-prob-progress-bar"><div id="third-breed-prob" class="w3-container w3-green w3-round dog-prob-progress-num"></div></div><br></div></div></div><p id="requireHTTPS" class="hidden"><b>STOP!</b> This page <b>must</b> be served over HTTPS. Please <a>reload this page via HTTPS</a>.</p></div></div></main><footer class="page-footer teal lighten-2"><div class="footer-copyright"><div class="container center">© <span id="copyright-year"></span> <a class="grey-text text-lighten-3" href="https://linkedin.com/in/cyyeh" target="_blank">ChihYu <i class="material-icons" id="footer-link-icon">link</i></a></div></div></footer><script async>/*! modernizr 3.6.0 (Custom Build) | MIT *
* https://modernizr.com/download/?-webp-setclasses !*/
!function(e,n,A){function o(e,n){return typeof e===n}function t(){var e,n,A,t,a,i,l;for(var f in r)if(r.hasOwnProperty(f)){if(e=[],n=r[f],n.name&&(e.push(n.name.toLowerCase()),n.options&&n.options.aliases&&n.options.aliases.length))for(A=0;A<n.options.aliases.length;A++)e.push(n.options.aliases[A].toLowerCase());for(t=o(n.fn,"function")?n.fn():n.fn,a=0;a<e.length;a++)i=e[a],l=i.split("."),1===l.length?Modernizr[l[0]]=t:(!Modernizr[l[0]]||Modernizr[l[0]]instanceof Boolean||(Modernizr[l[0]]=new Boolean(Modernizr[l[0]])),Modernizr[l[0]][l[1]]=t),s.push((t?"":"no-")+l.join("-"))}}function a(e){var n=u.className,A=Modernizr._config.classPrefix||"";if(c&&(n=n.baseVal),Modernizr._config.enableJSClass){var o=new RegExp("(^|\\s)"+A+"no-js(\\s|$)");n=n.replace(o,"$1"+A+"js$2")}Modernizr._config.enableClasses&&(n+=" "+A+e.join(" "+A),c?u.className.baseVal=n:u.className=n)}function i(e,n){if("object"==typeof e)for(var A in e)f(e,A)&&i(A,e[A]);else{e=e.toLowerCase();var o=e.split("."),t=Modernizr[o[0]];if(2==o.length&&(t=t[o[1]]),"undefined"!=typeof t)return Modernizr;n="function"==typeof n?n():n,1==o.length?Modernizr[o[0]]=n:(!Modernizr[o[0]]||Modernizr[o[0]]instanceof Boolean||(Modernizr[o[0]]=new Boolean(Modernizr[o[0]])),Modernizr[o[0]][o[1]]=n),a([(n&&0!=n?"":"no-")+o.join("-")]),Modernizr._trigger(e,n)}return Modernizr}var s=[],r=[],l={_version:"3.6.0",_config:{classPrefix:"",enableClasses:!0,enableJSClass:!0,usePrefixes:!0},_q:[],on:function(e,n){var A=this;setTimeout(function(){n(A[e])},0)},addTest:function(e,n,A){r.push({name:e,fn:n,options:A})},addAsyncTest:function(e){r.push({name:null,fn:e})}},Modernizr=function(){};Modernizr.prototype=l,Modernizr=new Modernizr;var f,u=n.documentElement,c="svg"===u.nodeName.toLowerCase();!function(){var e={}.hasOwnProperty;f=o(e,"undefined")||o(e.call,"undefined")?function(e,n){return n in e&&o(e.constructor.prototype[n],"undefined")}:function(n,A){return e.call(n,A)}}(),l._l={},l.on=function(e,n){this._l[e]||(this._l[e]=[]),this._l[e].push(n),Modernizr.hasOwnProperty(e)&&setTimeout(function(){Modernizr._trigger(e,Modernizr[e])},0)},l._trigger=function(e,n){if(this._l[e]){var A=this._l[e];setTimeout(function(){var e,o;for(e=0;e<A.length;e++)(o=A[e])(n)},0),delete this._l[e]}},Modernizr._q.push(function(){l.addTest=i}),Modernizr.addAsyncTest(function(){function e(e,n,A){function o(n){var o=n&&"load"===n.type?1==t.width:!1,a="webp"===e;i(e,a&&o?new Boolean(o):o),A&&A(n)}var t=new Image;t.onerror=o,t.onload=o,t.src=n}var n=[{uri:"data:image/webp;base64,UklGRiQAAABXRUJQVlA4IBgAAAAwAQCdASoBAAEAAwA0JaQAA3AA/vuUAAA=",name:"webp"},{uri:"data:image/webp;base64,UklGRkoAAABXRUJQVlA4WAoAAAAQAAAAAAAAAAAAQUxQSAwAAAABBxAR/Q9ERP8DAABWUDggGAAAADABAJ0BKgEAAQADADQlpAADcAD++/1QAA==",name:"webp.alpha"},{uri:"data:image/webp;base64,UklGRlIAAABXRUJQVlA4WAoAAAASAAAAAAAAAAAAQU5JTQYAAAD/////AABBTk1GJgAAAAAAAAAAAAAAAAAAAGQAAABWUDhMDQAAAC8AAAAQBxAREYiI/gcA",name:"webp.animation"},{uri:"data:image/webp;base64,UklGRh4AAABXRUJQVlA4TBEAAAAvAAAAAAfQ//73v/+BiOh/AAA=",name:"webp.lossless"}],A=n.shift();e(A.name,A.uri,function(A){if(A&&"load"===A.type)for(var o=0;o<n.length;o++)e(n[o].name,n[o].uri)})}),t(),a(s),delete l.addTest,delete l.addAsyncTest;for(var p=0;p<Modernizr._q.length;p++)Modernizr._q[p]();e.Modernizr=Modernizr}(window,document);</script><script async>/*! modernizr 3.6.0 (Custom Build) | MIT *
* https://modernizr.com/download/?-setclasses !*/
Expand Down
2 changes: 1 addition & 1 deletion web/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
</ul>
<ul class="right">
<li><a class="btn-flat" id='translation-button'>En</a></li>
<li><a href="https://github.com/cyyeh" target='_blank' id='github-icon-button'><i id='github-icon' class="fa fa-github" aria-hidden="true"></i></a></li>
<li><a href="https://github.com/cyyeh/dog-breed-classifier" target='_blank' id='github-icon-button'><i id='github-icon' class="fa fa-github" aria-hidden="true"></i></a></li>
</ul>
</div>
</nav>
Expand Down

0 comments on commit 325cb6e

Please sign in to comment.