File size: 1,118 Bytes
27741a6
 
 
 
 
 
 
 
 
 
 
 
78d4d36
d8a0eb6
27741a6
 
78d4d36
27741a6
 
78d4d36
27741a6
d8a0eb6
 
78d4d36
27741a6
d8a0eb6
 
78d4d36
27741a6
78d4d36
27741a6
d8a0eb6
27741a6
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Fast API 🤗 Space served with Uvicorn</title>
    <link rel="stylesheet" href="style.css" />
    <script type="module" src="script.js"></script>
  </head>
  <body>
    <main>
      <section id="text-gen">
        <h1>Text generation using rugpt3large_based_on_gpt2 </h1>
        <p>
          Model:
          <a
              href="https://huggingface.co/ai-forever/rugpt3large_based_on_gpt2"
              rel="noreferrer"
              target="_blank"
            >ai-forever/rugpt3large_based_on_gpt2</a
          >
        </p>
        <form class="text-gen-form">
          <label for="text-gen-input">Текст</label>
          <input
            id="text-gen-input"
            type="text"
            value="Что идет после понедельника?"
          />
          <button id="text-gen-submit">Отправить</button>
          <p class="text-gen-output"></p>
        </form>
      </section>
    </main>
  </body>
</html>