File size: 1,715 Bytes
ad4fcaa
 
 
 
 
 
 
 
 
 
 
 
 
4a1a696
8bd9ad4
 
 
 
ad4fcaa
f05e9cf
ad4fcaa
 
 
 
 
 
f05e9cf
 
 
 
3c72558
f05e9cf
 
3c72558
f05e9cf
 
 
 
 
 
 
 
 
 
ad4fcaa
 
 
 
 
 
 
 
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
<!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>
    <script type="module" src="https://display.truepic.com/truepic_display.es.js"></script>
  </head>
  <body>
    <main>
      <section id="text-gen">
        <h1>Text to Image with Signed Attribution</h1>
        <div id="outputClass">


        </div>
        <form class="text-gen-form" style="padding:40px 0;">
          <label for="text-gen-input">Enter prompt: </label>
          <input
            id="text-gen-input"
            type="text"
            value=""
            style="margin:40px 0;"
          />

          <label>Inference Steps: </label>

          <select style="width:20%" id="inference_steps">
            <option value="5">5</option>
            <option value="10">10</option>
            <option value="20">20</option>
            <option value="50" selected>50</option>
          </select>

          <label>Model: </label>

          <select style="width:20%" id="model">
            <option value="runwayml/stable-diffusion-v1-5">runwayml/stable-diffusion-v1-5</option>
            <option value="CompVis/stable-diffusion-v1-4">CompVis/stable-diffusion-v1-4</option>
            <option value="stabilityai/stable-diffusion-2-1">stabilityai/stable-diffusion-2-1</option>
          </select>

          <button id="text-gen-submit">Submit</button>
        </form>

          <form method="get" id="redirect-form" action="/"></form>
      </section>
    </main>
  </body>
</html>