summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Schwan <m.schwan@phytec.de>2020-06-09 13:23:20 +0200
committerMartin Schwan <m.schwan@phytec.de>2020-06-09 13:23:20 +0200
commit3adbd4fc4f324a095af285eeb739edf215ca9e1d (patch)
treeab9b97f446f45ebd57b715af8e9e171ee5eb142a
parentfba9a39303b5c43c7be1eb3876c7e6c34bc3e87e (diff)
downloadaidemo-customvision-3adbd4fc4f324a095af285eeb739edf215ca9e1d.tar.bz2
aidemo-customvision-3adbd4fc4f324a095af285eeb739edf215ca9e1d.zip
modules: demo: Adjust text for no prediction receivedHEADmaster
Adjust the text being displayed when no prediction was received and make it less irritating. It is not a critical situation when the endpoint cannot be reached. Oftentimes, the model runner is just not running yet and will start shortly after. Reflect that in the message. 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 948799c..eabffe2 100644
--- a/modules/demo/src/runner.cpp
+++ b/modules/demo/src/runner.cpp
@@ -63,7 +63,7 @@ void Runner::predictionFinished(QNetworkReply *reply)
if (jsonResponse.isEmpty()) {
status = RUNNER_NO_RECV;
- predictionText = "No predictions received! Make sure that the endpoint exists!";
+ predictionText = "Waiting for AI model runner...";
} else {
status = RUNNER_SUCCESS;
predictionText = "<h3>Predictions</h3>";