InnoLink commited on
Commit
1fac8fa
·
verified ·
1 Parent(s): fd8b139

Update static/index.HTML

Browse files
Files changed (1) hide show
  1. static/index.HTML +32 -0
static/index.HTML CHANGED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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>Fast API 🤗 Space served with Uvicorn</title>
7
+ <link rel="stylesheet" href="styles.css" />
8
+ <script type="module" src="script.js"></script>
9
+ </head>
10
+ <body>
11
+ <main>
12
+ <section id="text-gen">
13
+ <h1>Text generation using Flan T5</h1>
14
+ <p>
15
+ Model:
16
+ <a
17
+ href="https://huggingface.co/google/flan-t5-small"
18
+ rel="noreferrer" target="_blank"
19
+ >google/flan-t5-small</a>
20
+ </p>
21
+ <form class="text-gen-form">
22
+ <label for="text-gen-input">Text prompt</label>
23
+ <input id="text-gen-input" type="text"
24
+ value="English: Translate There are many ducks. German:"
25
+ />
26
+ <button id="text-gen-submit">Submit</button>
27
+ <p class="text-gen-output"></p>
28
+ </form>
29
+ </section>
30
+ </main>
31
+ </body>
32
+ </html>