KurtDu commited on
Commit
c423d00
·
verified ·
1 Parent(s): ca332d0

Update templates/index.html

Browse files
Files changed (1) hide show
  1. templates/index.html +63 -34
templates/index.html CHANGED
@@ -12,6 +12,7 @@
12
  background-color: #f0f8ff;
13
  font-family: 'Arial', sans-serif;
14
  }
 
15
  .container {
16
  background-color: #fff;
17
  border-radius: 15px;
@@ -20,6 +21,7 @@
20
  max-width: 800px;
21
  margin: 30px auto;
22
  }
 
23
  h3 {
24
  font-size: 2rem;
25
  font-weight: bold;
@@ -27,11 +29,13 @@
27
  text-align: center;
28
  margin-bottom: 20px;
29
  }
 
30
  p {
31
  color: #555;
32
  font-size: 1rem;
33
  line-height: 1.8;
34
  }
 
35
  .btn {
36
  border-radius: 25px;
37
  font-size: 1.1rem;
@@ -39,18 +43,22 @@
39
  font-weight: bold;
40
  transition: background-color 0.3s ease, transform 0.2s ease;
41
  }
 
42
  .btn-primary {
43
  background-color: #007bff;
44
  border: none;
45
  }
 
46
  .btn-primary:hover {
47
  background-color: #0056b3;
48
  transform: scale(1.05);
49
  }
 
50
  .icon {
51
  color: #f39c12;
52
  margin-right: 5px;
53
  }
 
54
  .section-title {
55
  font-size: 1.2rem;
56
  font-weight: bold;
@@ -59,13 +67,24 @@
59
  align-items: center;
60
  margin-top: 20px;
61
  }
 
62
  .section-title .fa {
63
  margin-right: 10px;
64
  }
 
65
  audio {
66
  margin-top: 10px;
67
  margin-bottom: 15px;
68
  }
 
 
 
 
 
 
 
 
 
69
  </style>
70
  </head>
71
 
@@ -84,55 +103,65 @@
84
  Once you select a specific domain and task (e.g., <em>Educational Tutoring</em> and <em>Rhythm Control</em>),
85
  you will proceed to the evaluation stage. In each round, you will be presented with an audio input. 🎵
86
  For example:
 
87
  <span style="vertical-align: middle; line-height: 1.2; display: inline-block;"><strong>Audio
88
  Sample:</strong></span>
89
  <audio controls style="vertical-align: middle;">
90
  <source src="/static/audio/sample/input_audio.wav" type="audio/wav">
91
  </audio>
 
92
  The corresponding text is:
93
  <em>"Say the following sentence at my speed first, then say it again very slowly:
94
  'Artificial intelligence is changing the world in many ways.'" </em> 🧠
95
  <small>(Note: the audio plays at 1.5x the normal speed.)</small>
96
 
97
  <span class="section-title"><i class="fas fa-star"></i>Model Responses</span>
98
- The responses of different S2S models will be provided, and your task is to choose which response best follows
99
- the instructions. For example:
100
 
101
- <!-- ChatGPT-4o Output -->
102
- <span><strong>ChatGPT-4o:</strong></span>
103
- <audio controls style="vertical-align: middle;">
104
- <source src="/static/audio/sample/4o_audio.wav" type="audio/wav">
105
- </audio>
106
- <p class="text-start" style="margin-left: 20px;">
107
- <strong>Performance:</strong> 🎙️ Speech: Partially followed the instruction on speed. 🧾 Semantics: Accurately followed the instruction, with no semantic deviation or missing information.
108
- </p>
 
 
 
109
 
110
- <!-- FunAudioLLM Output -->
111
- <span><strong>FunAudioLLM:</strong></span>
112
- <audio controls style="vertical-align: middle;">
113
- <source src="/static/audio/sample/FunAudio_audio.wav" type="audio/wav">
114
- </audio>
115
- <p class="text-start" style="margin-left: 20px;">
116
- <strong>Performance:</strong> 🎙️ Speech: Partially followed the instruction on speed. 🧾 Semantics: Accurately followed the instruction, with no semantic deviation or missing information.
117
- </p>
 
 
 
118
 
119
- <!-- SpeechGPT Output -->
120
- <span><strong>SpeechGPT:</strong></span>
121
- <audio controls style="vertical-align: middle;">
122
- <source src="/static/audio/sample/SpeechGPT.wav" type="audio/wav">
123
- </audio>
124
- <p class="text-start" style="margin-left: 20px;">
125
- <strong>Performance:</strong> 🎙️ Speech: Did not follow the instruction on speed. 🧾 Semantics: Partially followed the instruction, with minor semantic deviation and missing information.
126
- </p>
 
 
127
 
128
- <!-- Mini-Omni Output -->
129
- <span><strong>Mini-Omni:</strong></span>
130
- <audio controls style="vertical-align: middle;">
131
- <source src="/static/audio/sample/mini-omni.wav" type="audio/wav">
132
- </audio>
133
- <p class="text-start" style="margin-left: 20px;">
134
- <strong>Performance:</strong> 🎙️ Speech: Did not follow the instruction on speed. 🧾 Semantics: Did not follow the instruction, with significant semantic deviation and missing information.
135
- </p>
 
 
136
 
137
  <p class="text-start">
138
  After making your choice, you'll proceed to the next round. 🔄
 
12
  background-color: #f0f8ff;
13
  font-family: 'Arial', sans-serif;
14
  }
15
+
16
  .container {
17
  background-color: #fff;
18
  border-radius: 15px;
 
21
  max-width: 800px;
22
  margin: 30px auto;
23
  }
24
+
25
  h3 {
26
  font-size: 2rem;
27
  font-weight: bold;
 
29
  text-align: center;
30
  margin-bottom: 20px;
31
  }
32
+
33
  p {
34
  color: #555;
35
  font-size: 1rem;
36
  line-height: 1.8;
37
  }
38
+
39
  .btn {
40
  border-radius: 25px;
41
  font-size: 1.1rem;
 
43
  font-weight: bold;
44
  transition: background-color 0.3s ease, transform 0.2s ease;
45
  }
46
+
47
  .btn-primary {
48
  background-color: #007bff;
49
  border: none;
50
  }
51
+
52
  .btn-primary:hover {
53
  background-color: #0056b3;
54
  transform: scale(1.05);
55
  }
56
+
57
  .icon {
58
  color: #f39c12;
59
  margin-right: 5px;
60
  }
61
+
62
  .section-title {
63
  font-size: 1.2rem;
64
  font-weight: bold;
 
67
  align-items: center;
68
  margin-top: 20px;
69
  }
70
+
71
  .section-title .fa {
72
  margin-right: 10px;
73
  }
74
+
75
  audio {
76
  margin-top: 10px;
77
  margin-bottom: 15px;
78
  }
79
+
80
+ .audio-container {
81
+ text-align: center;
82
+ margin-top: 20px;
83
+ }
84
+
85
+ .audio-container audio {
86
+ display: inline-block;
87
+ }
88
  </style>
89
  </head>
90
 
 
103
  Once you select a specific domain and task (e.g., <em>Educational Tutoring</em> and <em>Rhythm Control</em>),
104
  you will proceed to the evaluation stage. In each round, you will be presented with an audio input. 🎵
105
  For example:
106
+
107
  <span style="vertical-align: middle; line-height: 1.2; display: inline-block;"><strong>Audio
108
  Sample:</strong></span>
109
  <audio controls style="vertical-align: middle;">
110
  <source src="/static/audio/sample/input_audio.wav" type="audio/wav">
111
  </audio>
112
+
113
  The corresponding text is:
114
  <em>"Say the following sentence at my speed first, then say it again very slowly:
115
  'Artificial intelligence is changing the world in many ways.'" </em> 🧠
116
  <small>(Note: the audio plays at 1.5x the normal speed.)</small>
117
 
118
  <span class="section-title"><i class="fas fa-star"></i>Model Responses</span>
 
 
119
 
120
+ <div class="audio-container">
121
+ <span><strong>ChatGPT-4o:</strong></span>
122
+ <audio controls>
123
+ <source src="/static/audio/sample/4o_audio.wav" type="audio/wav">
124
+ </audio>
125
+ <p>
126
+ <strong>Performance:</strong> 🎙️ Speech: Partially followed the instruction on speed. 🧾
127
+ Semantics: Accurately followed the instruction, with no semantic deviation or missing
128
+ information.
129
+ </p>
130
+ </div>
131
 
132
+ <div class="audio-container">
133
+ <span><strong>FunAudioLLM:</strong></span>
134
+ <audio controls>
135
+ <source src="/static/audio/sample/FunAudio_audio.wav" type="audio/wav">
136
+ </audio>
137
+ <p>
138
+ <strong>Performance:</strong> 🎙️ Speech: Partially followed the instruction on speed. 🧾
139
+ Semantics: Accurately followed the instruction, with no semantic deviation or missing
140
+ information.
141
+ </p>
142
+ </div>
143
 
144
+ <div class="audio-container">
145
+ <span><strong>SpeechGPT:</strong></span>
146
+ <audio controls>
147
+ <source src="/static/audio/sample/SpeechGPT.wav" type="audio/wav">
148
+ </audio>
149
+ <p>
150
+ <strong>Performance:</strong> 🎙️ Speech: Did not follow the instruction on speed. 🧾 Semantics:
151
+ Partially followed the instruction, with minor semantic deviation and missing information.
152
+ </p>
153
+ </div>
154
 
155
+ <div class="audio-container">
156
+ <span><strong>Mini-Omni:</strong></span>
157
+ <audio controls>
158
+ <source src="/static/audio/sample/mini-omni.wav" type="audio/wav">
159
+ </audio>
160
+ <p>
161
+ <strong>Performance:</strong> 🎙️ Speech: Did not follow the instruction on speed. 🧾 Semantics:
162
+ Did not follow the instruction, with significant semantic deviation and missing information.
163
+ </p>
164
+ </div>
165
 
166
  <p class="text-start">
167
  After making your choice, you'll proceed to the next round. 🔄