Navigation rework, added prompt edit to components that were missing
This commit is contained in:
@@ -79,8 +79,7 @@ const evaluateSpeakingExercise = async (
|
||||
|
||||
formData.append("audio", audioFile, "audio.wav");
|
||||
|
||||
const evaluationQuestion =
|
||||
`${exercise.text.replaceAll("\n", "")}` + (exercise.prompts.length > 0 ? `You should talk about: ${exercise.prompts.join(", ")}` : "");
|
||||
const evaluationQuestion = `${exercise.text.replaceAll("\n", "")}` + (exercise.prompts.length > 0 ? `You should talk about: ${exercise.prompts.join(", ")}` : "");
|
||||
formData.append("question", evaluationQuestion);
|
||||
formData.append("id", id);
|
||||
formData.append("task", task.toString());
|
||||
|
||||
Reference in New Issue
Block a user