aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/tensorboard/components/tf_text_dashboard/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'tensorflow/tensorboard/components/tf_text_dashboard/index.html')
-rw-r--r--tensorflow/tensorboard/components/tf_text_dashboard/index.html7
1 files changed, 5 insertions, 2 deletions
diff --git a/tensorflow/tensorboard/components/tf_text_dashboard/index.html b/tensorflow/tensorboard/components/tf_text_dashboard/index.html
index 77d19b948c..d01f4777ed 100644
--- a/tensorflow/tensorboard/components/tf_text_dashboard/index.html
+++ b/tensorflow/tensorboard/components/tf_text_dashboard/index.html
@@ -44,6 +44,9 @@ limitations under the License.
</tf-text-dashboard>
</template>
<script>
+ import * as backend_backend from '../tf-backend/backend';
+ import * as backend_router from '../tf-backend/router';
+
Polymer({
is: "text-dash-demo",
properties: {
@@ -51,8 +54,8 @@ limitations under the License.
type: Object,
value: function() {
var path = "data";
- var router = new TF.Backend.router(path, true);
- return new TF.Backend.Backend(router);
+ var router = new backend_backend.router(path, true);
+ return new backend_backend.Backend(router);
},
},
},