bernardo-de-almeida commited on
Commit
774a1b2
·
1 Parent(s): a263528

feat: add live demo

Browse files
Files changed (1) hide show
  1. tabs/demo.html +31 -14
tabs/demo.html CHANGED
@@ -1,16 +1,33 @@
1
- <div class="summary">
2
- <h2>🚀 NTv3 Live Demo</h2>
3
- <p>Try out the NTv3 model interactively in this live demo. Predict functional tracks and genome annotation directly in your browser.</p>
4
- </div>
5
-
6
- <div style="margin-top: 18px; width: 100%; height: 800px; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden;">
7
- <iframe
8
- src="https://huggingface.co/spaces/InstaDeepAI/ntv3_tracks"
9
- width="100%"
10
- height="100%"
11
- frameborder="0"
12
- style="display: block; border: none;"
13
- title="NTv3 Tracks Live Demo">
14
- </iframe>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
15
  </div>
16
 
 
1
+ <div class="grid">
2
+ <div class="card" style="grid-column: span 12; text-align: center; padding: 60px 40px;">
3
+ <h2 style="margin-bottom: 20px;">🚀 NTv3 Live Demo</h2>
4
+ <p style="margin-bottom: 30px; color: var(--muted); line-height: 1.7;">
5
+ Try out the NTv3 model interactively in this live demo. Predict functional tracks and genome annotation directly in your browser. Click the button below to open the interactive demo in a new window.
6
+ </p>
7
+ <a
8
+ href="https://huggingface.co/spaces/InstaDeepAI/ntv3_tracks"
9
+ target="_blank"
10
+ rel="noopener"
11
+ style="
12
+ display: inline-block;
13
+ padding: 16px 32px;
14
+ background: var(--link);
15
+ color: white;
16
+ text-decoration: none;
17
+ border-radius: 12px;
18
+ font-weight: 600;
19
+ font-size: 16px;
20
+ transition: all 0.2s ease;
21
+ box-shadow: 0 4px 12px rgba(125, 211, 252, 0.3);
22
+ "
23
+ onmouseover="this.style.background='#60b8e8'; this.style.transform='translateY(-2px)'; this.style.boxShadow='0 6px 16px rgba(125, 211, 252, 0.4)';"
24
+ onmouseout="this.style.background='var(--link)'; this.style.transform='translateY(0)'; this.style.boxShadow='0 4px 12px rgba(125, 211, 252, 0.3)';"
25
+ >
26
+ 🚀 Open Live Demo →
27
+ </a>
28
+ <p style="margin-top: 30px; font-size: 13px; color: var(--muted);">
29
+ The demo will open in a new tab. Make sure pop-ups are enabled for this site.
30
+ </p>
31
+ </div>
32
  </div>
33