Spaces:
Runtime error
Runtime error
Create static/index.html
Browse files- static/index.html +24 -0
static/index.html
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<main>
|
| 2 |
+
<section id="text-gen">
|
| 3 |
+
<h2>Text generation using Flan T5</h2>
|
| 4 |
+
<p>
|
| 5 |
+
Model:
|
| 6 |
+
<a
|
| 7 |
+
href="https://huggingface.co/google/flan-t5-small"
|
| 8 |
+
rel="noreferrer"
|
| 9 |
+
target="_blank"
|
| 10 |
+
>google/flan-t5-small
|
| 11 |
+
</a>
|
| 12 |
+
</p>
|
| 13 |
+
<form class="text-gen-form">
|
| 14 |
+
<label for="text-gen-input">Text prompt</label>
|
| 15 |
+
<input
|
| 16 |
+
id="text-gen-input"
|
| 17 |
+
type="text"
|
| 18 |
+
value="German: There are many ducks"
|
| 19 |
+
/>
|
| 20 |
+
<button id="text-gen-submit">Submit</button>
|
| 21 |
+
<p class="text-gen-output"></p>
|
| 22 |
+
</form>
|
| 23 |
+
</section>
|
| 24 |
+
</main>
|