Spaces:
Sleeping
Sleeping
Update static/index.html
Browse files- static/index.html +22 -1
static/index.html
CHANGED
@@ -5,7 +5,28 @@
|
|
5 |
</div>
|
6 |
|
7 |
<!-- Original Content -->
|
8 |
-
<main
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
9 |
|
10 |
<!-- Other resources -->
|
11 |
<link rel="stylesheet" href="./style.css" />
|
|
|
5 |
</div>
|
6 |
|
7 |
<!-- Original Content -->
|
8 |
+
<main><section id="text-gen">
|
9 |
+
<h2>Text generation using Flan T5</h2>
|
10 |
+
<p>
|
11 |
+
Model:
|
12 |
+
<a
|
13 |
+
href="https://huggingface.co/google/flan-t5-small"
|
14 |
+
rel="noreferrer"
|
15 |
+
target="_blank"
|
16 |
+
>google/flan-t5-small
|
17 |
+
</a>
|
18 |
+
</p>
|
19 |
+
<form class="text-gen-form">
|
20 |
+
<label for="text-gen-input">Text prompt</label>
|
21 |
+
<input
|
22 |
+
id="text-gen-input"
|
23 |
+
type="text"
|
24 |
+
value="German: There are many ducks"
|
25 |
+
/>
|
26 |
+
<button id="text-gen-submit">Submit</button>
|
27 |
+
<p class="text-gen-output"></p>
|
28 |
+
</form>
|
29 |
+
</section></main>
|
30 |
|
31 |
<!-- Other resources -->
|
32 |
<link rel="stylesheet" href="./style.css" />
|