fix more stories

This commit is contained in:
Abubakar Abid 2023-11-02 01:51:00 -07:00
parent cb71fab55b
commit 712d27fb61
3 changed files with 19 additions and 5 deletions

View File

@ -1,6 +1,6 @@
<script>
import { Meta, Template, Story } from "@storybook/addon-svelte-csf";
import Radio from "./shared/Radio.svelte";
import Radio from "./Index.svelte";
</script>
<Meta

View File

@ -27,15 +27,29 @@
</Template>
<Story
name="Primary"
name="Record from webcam"
args={{
value: ["https://gradio-static-files.s3.us-west-2.amazonaws.com/world.mp4"],
format: "mp4",
label: "world video",
show_label: true,
interactive: true,
autoplay: true,
height: 400,
width: 400
}}
/>
<Story
name="Static video"
args={{
value: {
video: {
path: "https://gradio-static-files.s3.us-west-2.amazonaws.com/world.mp4",
url: "https://gradio-static-files.s3.us-west-2.amazonaws.com/world.mp4",
orig_name: "world.mp4"
}
},
label: "world video",
show_label: true,
interactive: false
}}
/>

View File

@ -1,4 +1,4 @@
lockfileVersion: '6.0'
lockfileVersion: '6.1'
settings:
autoInstallPeers: true