gradio/ui/packages/audio
Ian González 662a811689
Catch the permission exception on the audio component (#2330)
* Catch the permission exception on the audio component and fail gracefully

* Run autoformatter on src/Audio.svelte

* Revert "Run autoformatter on src/Audio.svelte"

This reverts commit e53af15cdd.

* Run autoformatter

* use gradio error message

* convert to try catch, fix types

* cleanup

Co-authored-by: Ian Gonzalez <ian.gl@protonmail.com>
Co-authored-by: Ali Abid <aabid94@gmail.com>
Co-authored-by: pngwn <hello@pngwn.io>
2022-09-29 15:33:22 +01:00
..
src Catch the permission exception on the audio component (#2330) 2022-09-29 15:33:22 +01:00
package.json WIP: Add dark mode support (#1187) 2022-05-09 17:26:09 -07:00
README.md Blocks dev (#853) 2022-03-22 15:40:36 -07:00

@gradio/audio

<script>
	import { Audio } from "@gradio/audio";
</script>

<Audio
	value="string"
	theme="string"
	name="string"
	source="microphone | upload"
	on:change={e.detail === value}
/>