Spaces:
Running
Running
| <html lang="my"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>Voice Converter UI Demo</title> | |
| <style> | |
| body { | |
| font-family: Arial, sans-serif; | |
| background-color: #0f172a; | |
| color: #f8fafc; | |
| display: flex; | |
| justify-content: center; | |
| align-items: center; | |
| min-height: 100vh; | |
| margin: 0; | |
| padding: 20px; | |
| box-sizing: border-box; | |
| } | |
| .container { | |
| background-color: #1e293b; | |
| padding: 25px; | |
| border-radius: 12px; | |
| box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.5); | |
| max-width: 400px; | |
| width: 100%; | |
| text-align: center; | |
| } | |
| h2 { | |
| margin-top: 0; | |
| color: #38bdf8; | |
| } | |
| .input-group { | |
| margin: 20px 0; | |
| } | |
| input[type="file"] { | |
| display: none; | |
| } | |
| .custom-file-upload { | |
| border: 2px dashed #38bdf8; | |
| display: inline-block; | |
| padding: 12px 20px; | |
| cursor: pointer; | |
| border-radius: 8px; | |
| color: #38bdf8; | |
| width: 80%; | |
| transition: 0.3s; | |
| } | |
| .custom-file-upload:hover { | |
| background-color: #334155; | |
| } | |
| button { | |
| background-color: #0284c7; | |
| color: white; | |
| border: none; | |
| padding: 12px 24px; | |
| font-size: 16px; | |
| border-radius: 8px; | |
| cursor: pointer; | |
| width: 100%; | |
| margin-top: 10px; | |
| transition: 0.3s; | |
| } | |
| button:hover { | |
| background-color: #0369a1; | |
| } | |
| #status { | |
| margin-top: 15px; | |
| font-size: 14px; | |
| color: #94a3b8; | |
| } | |
| audio { | |
| width: 100%; | |
| margin-top: 20px; | |
| display: none; | |
| } | |
| </style> | |
| </head> | |
| <body> | |
| <div class="container"> | |
| <h2>ποΈ Voice Converter</h2> | |
| <p>α‘ααΆααα―ααΊ αα½α±αΈαα»ααΊαα« ααα―α·ααα―ααΊ Upload αααΊαα«</p> | |
| <div class="input-group"> | |
| <label for="audioFile" class="custom-file-upload"> | |
| π Audio ααα―ααΊαα½α±αΈαααΊ | |
| </label> | |
| <input type="file" id="audioFile" accept="audio/*"> | |
| <p id="fileName" style="font-size: 12px; color: #cbd5e1; margin-top: 8px;"></p> | |
| </div> | |
| <button id="convertBtn">α‘ααΆ ααΌα±α¬ααΊαΈαααΊ</button> | |
| <div id="status"></div> | |
| <audio id="audioPlayer" controls></audio> | |
| </div> | |
| <script src="script.js"></script> | |
| </body> | |
| </html> | |