Anonymusmee commited on
Commit
619719f
·
verified ·
1 Parent(s): 33ca10e

Create index.html

Browse files
Files changed (1) hide show
  1. index.html +45 -0
index.html ADDED
@@ -0,0 +1,45 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>AI Storybook Animator</title>
7
+ <link rel="stylesheet" href="/static/style.css">
8
+ </head>
9
+ <body>
10
+ <div class="container">
11
+ <h1>🏰✨ AI Storybook Animator ✨🏰</h1>
12
+ <p>Write a story and watch a powerful AI bring it to life!</p>
13
+
14
+ <div class="input-area">
15
+ <textarea id="story-input" placeholder="A majestic dragon flying through a snowy mountain range..."></textarea>
16
+ <button id="animate-btn">✨ Create Animation</button>
17
+ </div>
18
+
19
+ <div id="loader" class="loader" style="display: none;"></div>
20
+
21
+ <div class="output-area">
22
+ <div class="video-container">
23
+ <h2>🎬 Your Story Comes Alive</h2>
24
+ <video id="output-video" controls muted autoplay></video>
25
+ </div>
26
+ <div class="explanation-container">
27
+ <h2>💡 Explanation & Behind the Scenes</h2>
28
+
29
+ <h3>The Story Explanation</h3>
30
+ <p id="story-explanation-text">...</p>
31
+ <audio id="explainer-audio" controls></audio>
32
+
33
+ <hr>
34
+
35
+ <h3>How the Code Works</h3>
36
+ <p id="code-explanation-text">...</p>
37
+
38
+ <h4>Generated AI Prompt:</h4>
39
+ <pre><code id="prompt-output">...</code></pre>
40
+ </div>
41
+ </div>
42
+ </div>
43
+ <script src="/static/script.js"></script>
44
+ </body>
45
+ </html>