harpomaxx commited on
Commit
4f494fd
1 Parent(s): 520f36d

add dga class output

Browse files
Files changed (1) hide show
  1. app/static/script.js +1 -1
app/static/script.js CHANGED
@@ -5,7 +5,7 @@ const translateText = async (text) => {
5
  const inferJson = await inferResponse.json();
6
  console.log(inferResponse);
7
  console.log(inferJson);
8
- const res = `domain:"${text}",probDGA:${inferJson.probability}`;
9
  return res
10
  };
11
 
 
5
  const inferJson = await inferResponse.json();
6
  console.log(inferResponse);
7
  console.log(inferJson);
8
+ const res = `domain:"${text}",probDGA:${inferJson.probability},isdga:${inferJson.class}`;
9
  return res
10
  };
11