From a1d729fbc8e161bf81b359134b865814d66b79cd Mon Sep 17 00:00:00 2001 From: Your Name Date: Thu, 18 Apr 2019 23:38:06 -0700 Subject: [PATCH] remove test data --- gradio/static/js/interfaces/output/label.js | 22 --------------------- 1 file changed, 22 deletions(-) diff --git a/gradio/static/js/interfaces/output/label.js b/gradio/static/js/interfaces/output/label.js index 7226f69308..635ba3e5bd 100644 --- a/gradio/static/js/interfaces/output/label.js +++ b/gradio/static/js/interfaces/output/label.js @@ -9,28 +9,6 @@ const label_output = { init: function() {}, output: function(data) { data = JSON.parse(data) - data = { - label: "happy, happy, happy", - confidences: [ - { - label: "happy, happy, happy", - confidence: 0.5064 - }, - { - label: "sad", - confidence: 0.2111 - }, - { - label: "angry, angry, angry", - confidence: 0.0757 - }, - { - label: "happy, happy, happy", - confidence: 0.03064 - } - ] - - } this.target.find(".output_class").html(data["label"]) this.target.find(".confidence_intervals > div").empty() if (data.confidences) {