Spaces:
Sleeping
Sleeping
Update static/index.html
Browse files- static/index.html +20 -32
static/index.html
CHANGED
@@ -1,36 +1,24 @@
|
|
1 |
<!DOCTYPE html>
|
2 |
<html lang="en">
|
3 |
-
|
4 |
-
<meta charset="UTF-8"
|
5 |
-
<meta name="viewport" content="width=device-width, initial-scale=1.0"
|
6 |
-
<title>
|
7 |
-
<link rel="stylesheet" href="style.css"
|
8 |
-
|
9 |
-
|
10 |
-
|
|
|
|
|
11 |
<main>
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
target="_blank"
|
20 |
-
>google/flan-t5-small</a
|
21 |
-
>
|
22 |
-
</p>
|
23 |
-
<form class="text-gen-form">
|
24 |
-
<label for="text-gen-input">Text prompt</label>
|
25 |
-
<input
|
26 |
-
id="text-gen-input"
|
27 |
-
type="text"
|
28 |
-
value="English: Translate There are many ducks. German:"
|
29 |
-
/>
|
30 |
-
<button id="text-gen-submit">Submit</button>
|
31 |
-
<p class="text-gen-output"></p>
|
32 |
-
</form>
|
33 |
-
</section>
|
34 |
</main>
|
35 |
-
|
36 |
-
</
|
|
|
|
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>Viazi Lishe Expert</title>
|
7 |
+
<link rel="stylesheet" href="style.css">
|
8 |
+
</head>
|
9 |
+
<body>
|
10 |
+
<header>
|
11 |
+
<h1>Uliza Mtaalamu wa Viazi Lishe</h1>
|
12 |
+
</header>
|
13 |
<main>
|
14 |
+
<section id="audio-upload">
|
15 |
+
<h2>Rekodi na Uliza Swali Lako</h2>
|
16 |
+
<input type="file" id="audio-input" accept="audio/*">
|
17 |
+
<button id="submit-audio">Submit</button>
|
18 |
+
<p class="response-text"></p>
|
19 |
+
<audio controls class="response-audio"></audio>
|
20 |
+
</section>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
21 |
</main>
|
22 |
+
<script src="script.js"></script>
|
23 |
+
</body>
|
24 |
+
</html>
|