|  | <!DOCTYPE html>
 | 
						
						
						
							|  | <html lang="en">
 | 
						
						
						
							|  | <head>
 | 
						
						
						
							|  |     <meta charset="UTF-8">
 | 
						
						
						
							|  |     <meta name="viewport" content="width=device-width, initial-scale=1.0">
 | 
						
						
						
							|  |     <title>GPT Example</title>
 | 
						
						
						
							|  |     <style>
 | 
						
						
						
							|  |         body {
 | 
						
						
						
							|  |             font-family: Arial, sans-serif;
 | 
						
						
						
							|  |             margin: 0;
 | 
						
						
						
							|  |             padding: 0;
 | 
						
						
						
							|  |             background-color: #f4f4f9;
 | 
						
						
						
							|  |         }
 | 
						
						
						
							|  |         .container {
 | 
						
						
						
							|  |             max-width: 600px;
 | 
						
						
						
							|  |             margin: 50px auto;
 | 
						
						
						
							|  |             padding: 20px;
 | 
						
						
						
							|  |             background: #fff;
 | 
						
						
						
							|  |             border-radius: 8px;
 | 
						
						
						
							|  |             box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
 | 
						
						
						
							|  |         }
 | 
						
						
						
							|  |         h1 {
 | 
						
						
						
							|  |             color: #333;
 | 
						
						
						
							|  |             text-align: center;
 | 
						
						
						
							|  |         }
 | 
						
						
						
							|  |         textarea, input {
 | 
						
						
						
							|  |             width: 100%;
 | 
						
						
						
							|  |             padding: 10px;
 | 
						
						
						
							|  |             margin: 10px 0;
 | 
						
						
						
							|  |             font-size: 16px;
 | 
						
						
						
							|  |             border: 1px solid #ddd;
 | 
						
						
						
							|  |             border-radius: 4px;
 | 
						
						
						
							|  |         }
 | 
						
						
						
							|  |         input[type="submit"] {
 | 
						
						
						
							|  |             background-color: #4CAF50;
 | 
						
						
						
							|  |             color: white;
 | 
						
						
						
							|  |             cursor: pointer;
 | 
						
						
						
							|  |         }
 | 
						
						
						
							|  |         input[type="submit"]:hover {
 | 
						
						
						
							|  |             background-color: #45a049;
 | 
						
						
						
							|  |         }
 | 
						
						
						
							|  |         .response-box {
 | 
						
						
						
							|  |             padding: 10px;
 | 
						
						
						
							|  |             background: #f9f9f9;
 | 
						
						
						
							|  |             border: 1px solid #ddd;
 | 
						
						
						
							|  |             border-radius: 4px;
 | 
						
						
						
							|  |             min-height: 100px;
 | 
						
						
						
							|  |         }
 | 
						
						
						
							|  |     </style>
 | 
						
						
						
							|  | </head>
 | 
						
						
						
							|  | <body>
 | 
						
						
						
							|  |     <div class="container">
 | 
						
						
						
							|  |         <h1>Ask GPT</h1>
 | 
						
						
						
							|  |         <div style="display:none;" class="response-box">
 | 
						
						
						
							|  |             <p id="response">...</p>
 | 
						
						
						
							|  |         </div>
 | 
						
						
						
							|  |         <form action="/cgi-bin/gpt.py" method="post">
 | 
						
						
						
							|  |             <textarea name="question" rows="4" placeholder="Your prompt.."></textarea>
 | 
						
						
						
							|  |             <input type="submit" value="Get Answer">
 | 
						
						
						
							|  |         </form>
 | 
						
						
						
							|  |         
 | 
						
						
						
							|  |     </div>
 | 
						
						
						
							|  | </body>
 | 
						
						
						
							|  | </html> |