Commit f6a80628 authored by Bruno Guillaume's avatar Bruno Guillaume
Browse files

fix sent_id update

parent 1625e99e
......@@ -596,7 +596,7 @@ function load_cluster_file() {
// ==================================================================================
function display_picture(event) {
app.sent_id = event.data.sent_id;
app.sent_id = event.data.sent_id.split(" ")[0]; // n01005023 [1/2] --> n01005023
$("#sentence-txt").html(event.data.sentence);
if (event.data.audio != undefined) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment