File size: 2,323 Bytes
66467a9
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
53
54
55
56
57
58
59
60
61
62
63
64
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Blog Outline Generator</title>
    <link rel="stylesheet" href="{{ url_for('static', filename='style.css') }}">
    <!-- <style>
        body {
            background-image: url("{{ url_for('static', filename='bricks.jpg') }}");
            background-size: cover;
            background-repeat: no-repeat;
            background-position: center;
        }
    </style> -->

</head>
<body>
    <div class="container">
        <img src="{{url_for('static', filename='perfect.png')}}" width="480" height="150" align="middle" />
        <br>
        <br>
        <h1>AbstrAI ✒️</h1>
        <br>
        <form method="post" action="/">
            <b><i><label for="input_text">Enter the topic: </label></i></b>
            <input type="text" id="input_text" name="input_text" required>

            <div class="columns">
                <div class="column">
                    <b><i><label for="no_words">Enter the No of words: </label></i></b>
                    <input type="text" id="no_words" name="no_words" required>
                </div>
        
                <div class="column">
                   <b><i><label for="blog_style">Select the Industry or Audience</label></i></b>
                     <select id="blog_style" name="blog_style">
                     <option value="Technology">Technology</option>
                     <option value="Healthcare">Healthcare</option>
                     <option value="Education">Education</option>
                     <option value="Sports">Sports</option>
                     <option value="Entertainment">Entertainment</option>
                     <option value="Finance">Finance</option>
                     <option value="Travel">Travel</option>
                     <option value="Fashion">Fashion</option>
        <!-- Add more options as needed -->
    </select>
</div>

<!-- ... (remaining code) ... -->

            </div>
            <br>
            <button type="submit" class="generate-btn">Generate!</button>
        </form>

        {% if response %}
            <div class="response">
                <p>{{ response }}</p>
            </div>
        {% endif %}
    </div>
</body>
</html>