Upload folder using huggingface_hub
Browse files- 5.49.1/box/Index.svelte +10 -0
- 5.49.1/box/package.json +29 -0
5.49.1/box/Index.svelte
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<script lang="ts">
|
| 2 |
+
import { Block } from "@gradio/atoms";
|
| 3 |
+
export let elem_id: string;
|
| 4 |
+
export let elem_classes: string[];
|
| 5 |
+
export let visible: boolean | "hidden" = true;
|
| 6 |
+
</script>
|
| 7 |
+
|
| 8 |
+
<Block {elem_id} {elem_classes} {visible} explicit_call>
|
| 9 |
+
<slot />
|
| 10 |
+
</Block>
|
5.49.1/box/package.json
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"name": "@gradio/box",
|
| 3 |
+
"version": "0.2.25",
|
| 4 |
+
"description": "Gradio UI packages",
|
| 5 |
+
"type": "module",
|
| 6 |
+
"author": "",
|
| 7 |
+
"license": "ISC",
|
| 8 |
+
"private": false,
|
| 9 |
+
"main_changeset": true,
|
| 10 |
+
"exports": {
|
| 11 |
+
".": {
|
| 12 |
+
"gradio": "./Index.svelte",
|
| 13 |
+
"svelte": "./dist/Index.svelte",
|
| 14 |
+
"types": "./dist/Index.svelte.d.ts"
|
| 15 |
+
},
|
| 16 |
+
"./package.json": "./package.json"
|
| 17 |
+
},
|
| 18 |
+
"dependencies": {
|
| 19 |
+
"@gradio/atoms": "workspace:^"
|
| 20 |
+
},
|
| 21 |
+
"peerDependencies": {
|
| 22 |
+
"svelte": "^4.0.0"
|
| 23 |
+
},
|
| 24 |
+
"repository": {
|
| 25 |
+
"type": "git",
|
| 26 |
+
"url": "git+https://github.com/gradio-app/gradio.git",
|
| 27 |
+
"directory": "js/box"
|
| 28 |
+
}
|
| 29 |
+
}
|