Speaking endpoints and polling fixed
This commit is contained in:
@@ -64,8 +64,8 @@ const evaluateSpeakingExercise = async (
|
||||
formData.append("exerciseId", exercise.id);
|
||||
|
||||
const evaluationQuestion = `${exercise.text.replaceAll("\n", "")}` + (exercise.prompts.length > 0 ? `You should talk about: ${exercise.prompts.join(", ")}` : "");
|
||||
formData.append("question_1", evaluationQuestion);
|
||||
formData.append("audio_1", audioFile, "audio.wav");
|
||||
formData.append("question", evaluationQuestion);
|
||||
formData.append("audio", audioFile, "audio.wav");
|
||||
|
||||
const config = {
|
||||
headers: {
|
||||
|
||||
Reference in New Issue
Block a user