faiaz-halim

gdg-stjohns-html

Jul 22nd, 2025
515
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 1.52 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html>
  3.  <head>
  4.    <title>YouTube Summarizer</title>
  5.    <style>
  6.      body {
  7.        font-family: sans-serif;
  8.        display: flex;
  9.        justify-content: center;
  10.        align-items: center;
  11.        min-height: 100vh;
  12.        background-color: #f4f4f4;
  13.      }
  14.      .container {
  15.        background-color: white;
  16.        padding: 30px;
  17.        border-radius: 8px;
  18.        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  19.        text-align: center;
  20.      }
  21.      h2 {
  22.        text-align: center;
  23.        margin-bottom: 20px;
  24.      }
  25.      input[type="text"], textarea, select {
  26.        width: 100%;
  27.        padding: 10px;
  28.        margin-bottom: 15px;
  29.        border: 1px solid #ccc;
  30.        border-radius: 4px;
  31.        box-sizing: border-box;
  32.      }
  33.      button {
  34.        background-color: #4CAF50;
  35.        color: white;
  36.        padding: 12px 20px;
  37.        border: none;
  38.        border-radius: 4px;
  39.        cursor: pointer;
  40.      }
  41.    </style>
  42.  </head>
  43.  <body>
  44.    <div class="container">
  45.      <h2>YouTube Summarizer</h2>
  46.      <form action="/summarize" target="_blank" method="post">
  47.        <input type="text" name="youtube_link" placeholder="Enter YouTube Link">
  48.        <select name="model">
  49.          <option value="gemini-2.0-flash-001">Gemini 2.0 Flash</option>
  50.        </select>
  51.        <textarea name="additional_prompt" placeholder="Write your additional prompt here. For example: 'explain to me like I am five years old'"></textarea>
  52.        <button type="submit">Summarize</button>
  53.      </form>
  54.    </div>
  55.  </body>
  56. </html>
Advertisement
Add Comment
Please, Sign In to add comment