harpomaxx commited on
Commit
8a95070
1 Parent(s): 4f494fd

change dga for DGA in 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},isdga:${inferJson.class}`;
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