mirror of
https://github.com/gradio-app/gradio.git
synced 2024-12-27 02:30:17 +08:00
a8ab1c81a1
* Blocks-Components-v2 - default -> default_value refactoring * Blocks-Components-v2 - refactor output types into output_type and make them auto * Blocks-Backend-Events - all events are implemented * Blocks-Backend-Events - refactor fn: str -> Callable * Blocks-Backend-Events - add change event to TabItem * Blocks Backend Components - Remove KeyValues from components * Blocks-Backend-Components-v2 - Resolve Components imports in inputs and outputs * Blocks-Backend-Components-v2 - fix default parameter usage in demos * Blocks-Backend-Components-v2 - fix default parameter usage in demos * Blocks-Backend-Components-v2 - fix default parameter usage in demos * Blocks-Backend-Components-v2 - docstring updates * revert demos * Blocks-Backend-Components-v2 - tweaks * Blocks-Backend-Components-v2 - add change event to Tabs * Interfaces from Blocks (#849) Build interfaces from blocks Co-authored-by: Ali Abid <aliabid94@gmail.com> Co-authored-by: Ömer Faruk Özdemir <farukozderim@gmail.com> Co-authored-by: Abubakar Abid <abubakar@huggingface.co> Co-authored-by: Ali Abid <aliabid94@gmail.com> |
||
---|---|---|
.. | ||
src | ||
package.json | ||
README.md |
@gradio/audio
<script>
import { Audio } from "@gradio/audio";
</script>
<Audio
value="string"
theme="string"
name="string"
source="microphone | upload"
on:change={e.detail === value}
/>