File size: 633 Bytes
7efd925
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<main>
    <section id="text-gen">
      <h2>Text generation using Flan T5</h2>
      <p>
        Model:
        <a
          href="https://huggingface.co/google/flan-t5-small"
          rel="noreferrer"
          target="_blank"
          >google/flan-t5-small
        </a>
      </p>
      <form class="text-gen-form">
        <label for="text-gen-input">Text prompt</label>
        <input
          id="text-gen-input"
          type="text"
          value="German: There are many ducks"
        />
        <button id="text-gen-submit">Submit</button>
        <p class="text-gen-output"></p>
      </form>
    </section>
  </main>