Spaces:
Sleeping
Sleeping
Update templates/design.html
Browse files- templates/design.html +6 -40
templates/design.html
CHANGED
|
@@ -3,37 +3,9 @@
|
|
| 3 |
<head>
|
| 4 |
<meta charset="UTF-8">
|
| 5 |
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 6 |
-
<title>
|
| 7 |
-
<!-- Link to CSS -->
|
| 8 |
<link rel="stylesheet" href="{{ url_for('static', filename='css/design.css') }}">
|
| 9 |
-
|
| 10 |
-
<body>
|
| 11 |
-
<div class="mic-container">
|
| 12 |
-
<div class="circle">
|
| 13 |
-
<i class="fa fa-microphone"></i>
|
| 14 |
-
</div>
|
| 15 |
-
</div>
|
| 16 |
-
<div id="output" class="output-container">Click to Transcribe</div>
|
| 17 |
-
<div id="audioPlayerContainer" style="display: none;">
|
| 18 |
-
<audio id="audioPlayer" controls></audio>
|
| 19 |
-
</div>
|
| 20 |
-
<!-- Script JS -->
|
| 21 |
-
<script src="{{ url_for('static', filename='js/script.js') }}"></script>
|
| 22 |
-
</body>
|
| 23 |
-
</html>
|
| 24 |
-
|
| 25 |
-
|
| 26 |
-
|
| 27 |
-
<!--<!DOCTYPE html>
|
| 28 |
-
<html lang="en">
|
| 29 |
-
<head>
|
| 30 |
-
<meta charset="UTF-8">
|
| 31 |
-
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 32 |
-
<title>Speech to Text Converter</title>
|
| 33 |
-
|
| 34 |
-
<link rel="stylesheet" href="{{ url_for('static', filename='css/design.css') }}">
|
| 35 |
-
|
| 36 |
-
<script src="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/js/all.min.js"></script>
|
| 37 |
</head>
|
| 38 |
<body>
|
| 39 |
<div class="mic-container">
|
|
@@ -41,16 +13,10 @@
|
|
| 41 |
<i class="fas fa-microphone"></i>
|
| 42 |
</div>
|
| 43 |
</div>
|
| 44 |
-
|
| 45 |
-
<
|
| 46 |
-
|
| 47 |
-
<div id="
|
| 48 |
-
<audio id="audioPlayer" controls></audio>
|
| 49 |
-
</div>
|
| 50 |
-
|
| 51 |
-
|
| 52 |
<script src="{{ url_for('static', filename='js/design.js') }}"></script>
|
| 53 |
</body>
|
| 54 |
</html>
|
| 55 |
-
|
| 56 |
-
-->
|
|
|
|
| 3 |
<head>
|
| 4 |
<meta charset="UTF-8">
|
| 5 |
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 6 |
+
<title>Audio Recorder & Transcriber</title>
|
|
|
|
| 7 |
<link rel="stylesheet" href="{{ url_for('static', filename='css/design.css') }}">
|
| 8 |
+
<script src="https://kit.fontawesome.com/a076d05399.js" crossorigin="anonymous"></script>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 9 |
</head>
|
| 10 |
<body>
|
| 11 |
<div class="mic-container">
|
|
|
|
| 13 |
<i class="fas fa-microphone"></i>
|
| 14 |
</div>
|
| 15 |
</div>
|
| 16 |
+
<audio id="audioPlayback" controls style="display: none;"></audio>
|
| 17 |
+
<button id="transcribeButton" style="display: none;">Transcribe</button>
|
| 18 |
+
<div id="transcriptionResult"></div>
|
| 19 |
+
<div id="loadingSpinner" style="display: none;"></div>
|
|
|
|
|
|
|
|
|
|
|
|
|
| 20 |
<script src="{{ url_for('static', filename='js/design.js') }}"></script>
|
| 21 |
</body>
|
| 22 |
</html>
|
|
|
|
|
|