initialise chatbot with empty array of messages

This commit is contained in:
pngwn 2022-03-24 11:11:49 +00:00
parent 569491f896
commit 85dbeffd5c

View File

@ -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 />