mirror of
https://github.com/gradio-app/gradio.git
synced 2025-01-18 10:44:33 +08:00
initialise chatbot with empty array of messages
This commit is contained in:
parent
569491f896
commit
85dbeffd5c
@ -1,6 +1,8 @@
|
||||
<script lang="ts">
|
||||
import { ChatBot } from "@gradio/chatbot";
|
||||
export let value: Array<[string, string]>;
|
||||
export let value: Array<[string, string]> = [];
|
||||
|
||||
$: console.log($$props);
|
||||
</script>
|
||||
|
||||
<ChatBot {value} on:change />
|
||||
|
Loading…
Reference in New Issue
Block a user