Spaces:
Sleeping
Sleeping
Create static/index.html
Browse files- static/index.html +70 -0
static/index.html
ADDED
|
@@ -0,0 +1,70 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Hugging Face's logo
|
| 2 |
+
Hugging Face
|
| 3 |
+
Search models, datasets, users...
|
| 4 |
+
|
| 5 |
+
Spaces:
|
| 6 |
+
|
| 7 |
+
SpacesExamples
|
| 8 |
+
/
|
| 9 |
+
fastapi_t5
|
| 10 |
+
|
| 11 |
+
like
|
| 12 |
+
22
|
| 13 |
+
App
|
| 14 |
+
Files
|
| 15 |
+
Community
|
| 16 |
+
3
|
| 17 |
+
fastapi_t5
|
| 18 |
+
/
|
| 19 |
+
static
|
| 20 |
+
/
|
| 21 |
+
index.html
|
| 22 |
+
|
| 23 |
+
osanseviero's picture
|
| 24 |
+
osanseviero
|
| 25 |
+
HF STAFF
|
| 26 |
+
Full app
|
| 27 |
+
c575e18
|
| 28 |
+
raw
|
| 29 |
+
history
|
| 30 |
+
blame
|
| 31 |
+
contribute
|
| 32 |
+
delete
|
| 33 |
+
No virus
|
| 34 |
+
1.05 kB
|
| 35 |
+
<!DOCTYPE html>
|
| 36 |
+
<html lang="en">
|
| 37 |
+
<head>
|
| 38 |
+
<meta charset="UTF-8" />
|
| 39 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
| 40 |
+
<title>Fast API 🤗 Space served with Uvicorn</title>
|
| 41 |
+
<link rel="stylesheet" href="style.css" />
|
| 42 |
+
<script type="module" src="script.js"></script>
|
| 43 |
+
</head>
|
| 44 |
+
<body>
|
| 45 |
+
<main>
|
| 46 |
+
<section id="text-gen">
|
| 47 |
+
<h1>Text generation using Flan T5</h1>
|
| 48 |
+
<p>
|
| 49 |
+
Model:
|
| 50 |
+
<a
|
| 51 |
+
href="https://huggingface.co/google/flan-t5-small"
|
| 52 |
+
rel="noreferrer"
|
| 53 |
+
target="_blank"
|
| 54 |
+
>google/flan-t5-small</a
|
| 55 |
+
>
|
| 56 |
+
</p>
|
| 57 |
+
<form class="text-gen-form">
|
| 58 |
+
<label for="text-gen-input">Text prompt</label>
|
| 59 |
+
<input
|
| 60 |
+
id="text-gen-input"
|
| 61 |
+
type="text"
|
| 62 |
+
value="sst2 sentence: I had a great time."
|
| 63 |
+
/>
|
| 64 |
+
<button id="text-gen-submit">Submit</button>
|
| 65 |
+
<p class="text-gen-output"></p>
|
| 66 |
+
</form>
|
| 67 |
+
</section>
|
| 68 |
+
</main>
|
| 69 |
+
</body>
|
| 70 |
+
</html>
|