echo-chatbot / demo.html
young4weapon's picture
Upload folder using huggingface_hub
b9a8411 verified
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Bokeh Plot</title>
<style>
html, body {
box-sizing: border-box;
display: flow-root;
height: 100%;
margin: 0;
padding: 0;
}
</style>
<script type="text/javascript" src="https://cdn.bokeh.org/bokeh/release/bokeh-3.3.2.min.js"></script>
<script type="text/javascript">
Bokeh.set_log_level("info");
</script>
</head>
<body>
<div id="c429a978-fa14-4fcf-b133-a0625193abb7" data-root-id="p1001" style="display: contents;"></div>
<script type="application/json" id="p1035">
{"c140f27e-3847-420c-9a16-ed0ad2baf98f":{"version":"3.3.2","title":"Bokeh Application","roots":[{"type":"object","name":"Figure","id":"p1001","attributes":{"js_event_callbacks":{"type":"map","entries":[["pan",[{"type":"object","name":"CustomJS","id":"p1034","attributes":{"args":{"type":"map","entries":[["vertical_line",{"type":"object","name":"Span","id":"p1033","attributes":{"location":10,"dimension":"height","line_color":"green","line_width":2}}]]},"code":"\n console.log(vertical_line.location);\n vertical_line.change.emit();\n"}}]]]},"x_range":{"type":"object","name":"Range1d","id":"p1010","attributes":{"end":100}},"y_range":{"type":"object","name":"Range1d","id":"p1011","attributes":{"end":100}},"x_scale":{"type":"object","name":"LinearScale","id":"p1012"},"y_scale":{"type":"object","name":"LinearScale","id":"p1013"},"title":{"type":"object","name":"Title","id":"p1008"},"toolbar":{"type":"object","name":"Toolbar","id":"p1009","attributes":{"tools":[{"type":"object","name":"PanTool","id":"p1024","attributes":{"dimensions":"width"}},{"type":"object","name":"WheelZoomTool","id":"p1025","attributes":{"dimensions":"width","renderers":"auto"}},{"type":"object","name":"BoxSelectTool","id":"p1026","attributes":{"renderers":"auto","dimensions":"width","overlay":{"type":"object","name":"BoxAnnotation","id":"p1027","attributes":{"syncable":false,"level":"overlay","visible":false,"left":{"type":"number","value":"nan"},"right":{"type":"number","value":"nan"},"top":{"type":"number","value":"nan"},"bottom":{"type":"number","value":"nan"},"editable":true,"line_color":"black","line_alpha":1.0,"line_width":2,"line_dash":[4,4],"fill_color":"lightgrey","fill_alpha":0.5}}}},{"type":"object","name":"ResetTool","id":"p1032"}]}},"toolbar_location":null,"left":[{"type":"object","name":"LinearAxis","id":"p1019","attributes":{"ticker":{"type":"object","name":"BasicTicker","id":"p1020","attributes":{"mantissas":[1,2,5]}},"formatter":{"type":"object","name":"BasicTickFormatter","id":"p1021"},"major_label_policy":{"type":"object","name":"AllLabels","id":"p1022"},"major_label_text_color":null,"axis_line_color":null,"major_tick_line_color":null,"minor_tick_line_color":null}}],"below":[{"type":"object","name":"LinearAxis","id":"p1014","attributes":{"ticker":{"type":"object","name":"BasicTicker","id":"p1015","attributes":{"mantissas":[1,2,5]}},"formatter":{"type":"object","name":"BasicTickFormatter","id":"p1016"},"major_label_policy":{"type":"object","name":"AllLabels","id":"p1017"},"major_label_text_color":null,"axis_line_color":null,"major_tick_line_color":null,"minor_tick_line_color":null}}],"center":[{"type":"object","name":"Grid","id":"p1018","attributes":{"axis":{"id":"p1014"},"grid_line_color":null}},{"type":"object","name":"Grid","id":"p1023","attributes":{"dimension":1,"axis":{"id":"p1019"},"grid_line_color":null}},{"id":"p1033"}]}}]}}
</script>
<script type="text/javascript">
(function() {
const fn = function() {
Bokeh.safely(function() {
(function(root) {
function embed_document(root) {
const docs_json = document.getElementById('p1035').textContent;
const render_items = [{"docid":"c140f27e-3847-420c-9a16-ed0ad2baf98f","roots":{"p1001":"c429a978-fa14-4fcf-b133-a0625193abb7"},"root_ids":["p1001"]}];
root.Bokeh.embed.embed_items(docs_json, render_items);
}
if (root.Bokeh !== undefined) {
embed_document(root);
} else {
let attempts = 0;
const timer = setInterval(function(root) {
if (root.Bokeh !== undefined) {
clearInterval(timer);
embed_document(root);
} else {
attempts++;
if (attempts > 100) {
clearInterval(timer);
console.log("Bokeh: ERROR: Unable to run BokehJS code because BokehJS library is missing");
}
}
}, 10, root)
}
})(window);
});
};
if (document.readyState != "loading") fn();
else document.addEventListener("DOMContentLoaded", fn);
})();
</script>
</body>
</html>