Skip to content
This repository was archived by the owner on Aug 15, 2019. It is now read-only.

Commit ffdc100

Browse files
authored
Feature perf rnn on the homepage (#184)
* feature perf rnn on the homepage * review
1 parent cf26209 commit ffdc100

File tree

2 files changed

+26
-1
lines changed

2 files changed

+26
-1
lines changed

demos/homepage/assets/style.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -255,6 +255,11 @@ ul.index {
255255
#teachable-machine {
256256
background: url('../demos/images/teachablemachine_preview.jpg') center / cover;
257257
}
258+
259+
#perf-rnn {
260+
background: url('https://storage.googleapis.com/learnjs-data/images/performance_rnn.gif') center / cover;
261+
}
262+
258263
#model-builder {
259264
background: url('../demos/images/model-builder.png') center / cover;
260265
}

demos/homepage/index.md

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,27 @@ limitations under the License.
116116
<!-- Featured Card -->
117117
<div class="featured-demo mdl-grid">
118118
<div class="mdl-layout-spacer mdl-cell--hide-tablet mdl-cell--hide-phone"></div>
119-
<div class="demo-card featured-demo mdl-card mdl-shadow--4dp feature-card mdl-cell mdl-cell--12-col">
119+
<div class="demo-card featured-demo mdl-card mdl-shadow--4dp feature-card mdl-cell mdl-cell--6-col">
120+
<a href="demos/performance_rnn">
121+
<div class="mdl-card__title" id="perf-rnn">
122+
<h1 class="mdl-card__title-text">Performance RNN</h1>
123+
</div>
124+
</a>
125+
<div class="mdl-card__supporting-text">Enjoy a real-time piano performance by a neural network</div>
126+
<div class="mdl-card__actions mdl-card--border">
127+
<a href="demos/performance_rnn">
128+
<button class="mdl-button mdl-button--raised mdl-button--colored mdl-js-button mdl-button--primary mdl-js-ripple-effect">
129+
Demo
130+
</button>
131+
</a>
132+
<a href="https://github.com/pair-code/deeplearnjs/tree/master/demos/performance_rnn">
133+
<button class="mdl-button mdl-button--raised mdl-button--colored mdl-js-button mdl-button--primary mdl-js-ripple-effect">
134+
Code
135+
</button>
136+
</a>
137+
</div>
138+
</div>
139+
<div class="demo-card featured-demo mdl-card mdl-shadow--4dp feature-card mdl-cell mdl-cell--6-col">
120140
<a href="https://teachablemachine.withgoogle.com/">
121141
<div class="mdl-card__title" id="teachable-machine">
122142
<h1 class="mdl-card__title-text">Teachable Machine</h1>

0 commit comments

Comments
 (0)