Upload folder using huggingface_hub
Browse files
6.0.1/plot/package.json
CHANGED
|
@@ -44,4 +44,4 @@
|
|
| 44 |
"url": "git+https://github.com/gradio-app/gradio.git",
|
| 45 |
"directory": "js/plot"
|
| 46 |
}
|
| 47 |
-
}
|
|
|
|
| 44 |
"url": "git+https://github.com/gradio-app/gradio.git",
|
| 45 |
"directory": "js/plot"
|
| 46 |
}
|
| 47 |
+
}
|
6.0.1/plot/shared/Plot.svelte
CHANGED
|
@@ -27,7 +27,6 @@
|
|
| 27 |
let _type = $state(null);
|
| 28 |
|
| 29 |
$effect(() => {
|
| 30 |
-
console.log("Plot value changed:", value);
|
| 31 |
let type = value?.type;
|
| 32 |
untrack(() => {
|
| 33 |
key = key + 1;
|
|
|
|
| 27 |
let _type = $state(null);
|
| 28 |
|
| 29 |
$effect(() => {
|
|
|
|
| 30 |
let type = value?.type;
|
| 31 |
untrack(() => {
|
| 32 |
key = key + 1;
|
6.0.1/plot/shared/plot_types/AltairPlot.svelte
CHANGED
|
@@ -35,7 +35,6 @@
|
|
| 35 |
let spec_width: number = $state(0);
|
| 36 |
|
| 37 |
let plot = $derived(value?.plot);
|
| 38 |
-
console.log(0);
|
| 39 |
let spec = $derived.by(() => {
|
| 40 |
if (!plot) return null;
|
| 41 |
let parsed_spec = JSON.parse(plot) as Spec;
|
|
|
|
| 35 |
let spec_width: number = $state(0);
|
| 36 |
|
| 37 |
let plot = $derived(value?.plot);
|
|
|
|
| 38 |
let spec = $derived.by(() => {
|
| 39 |
if (!plot) return null;
|
| 40 |
let parsed_spec = JSON.parse(plot) as Spec;
|