summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Schwan <m.schwan@phytec.de>2019-10-10 10:21:34 +0200
committerMartin Schwan <m.schwan@phytec.de>2019-10-10 10:21:34 +0200
commit2cb40e0ec7c9dcf15500b50c370cd64ff1169dca (patch)
tree65893fc8963b8c7c8e4f597f9e55b31fdb0679ea
parentb992ca650b6362d36c06bc68610494f806e3457b (diff)
downloadaidemo-customvision-2cb40e0ec7c9dcf15500b50c370cd64ff1169dca.tar.bz2
aidemo-customvision-2cb40e0ec7c9dcf15500b50c370cd64ff1169dca.zip
modules: demo: Clean up prediction text
Clean up left-overs in the constructed prediction text. Signed-off-by: Martin Schwan <m.schwan@phytec.de>
-rw-r--r--modules/demo/src/runner.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/demo/src/runner.cpp b/modules/demo/src/runner.cpp
index 9a7aa5d..948799c 100644
--- a/modules/demo/src/runner.cpp
+++ b/modules/demo/src/runner.cpp
@@ -66,7 +66,7 @@ void Runner::predictionFinished(QNetworkReply *reply)
predictionText = "No predictions received! Make sure that the endpoint exists!";
} else {
status = RUNNER_SUCCESS;
- predictionText = "<h3>Predictions</h3><table>";
+ predictionText = "<h3>Predictions</h3>";
for (auto prediction : predictions) {
predictionText += prediction.toObject()["tagName"].toString().replace("-", " ")
+ ": "