gradio/js/multimodaltextbox
Freddy Boulton c12f82a36d
Bugfix: Allow multiple files to be uploaded via multimodal textbox (#8608)
* Add code

* Add file_count parameter to MultimodalTextbox

* add changeset

* Update fresh-years-feel.md

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-06-26 12:14:25 -04:00
..
shared Bugfix: Allow multiple files to be uploaded via multimodal textbox (#8608) 2024-06-26 12:14:25 -04:00
CHANGELOG.md chore: update versions (#8523) 2024-06-25 11:54:46 -04:00
Example.svelte Gradio components in gr.Chatbot() (#8131) 2024-06-14 14:43:35 +00:00
Index.svelte Bugfix: Allow multiple files to be uploaded via multimodal textbox (#8608) 2024-06-26 12:14:25 -04:00
MultimodalTextbox.stories.svelte Multimodal Textbox (Chat Input Component) (#7420) 2024-03-19 13:16:05 -07:00
MultimodalTextbox.test.ts Multimodal Textbox (Chat Input Component) (#7420) 2024-03-19 13:16:05 -07:00
MultimodalTextboxExample.stories.svelte Multimodal Textbox (Chat Input Component) (#7420) 2024-03-19 13:16:05 -07:00
package.json chore: update versions (#8523) 2024-06-25 11:54:46 -04:00
README.md Multimodal Textbox (Chat Input Component) (#7420) 2024-03-19 13:16:05 -07:00

@gradio/multimodaltextbox

<script>
    import { BaseMultimodalTextbox, BaseExample } from "@gradio/multimodaltextbox";
</script>

BaseMultimodalTextbox

	export let value = "";
	export let value_is_output = false;
	export let lines = 1;
	export let placeholder = "Type here...";
	export let label: string;
	export let info: string | undefined = undefined;
	export let disabled = false;
	export let show_label = true;
	export let container = true;
	export let max_lines: number;
	export let type: "text" | "password" | "email" = "text";
	export let show_copy_button = false;
	export let rtl = false;
	export let autofocus = false;
	export let text_align: "left" | "right" | undefined = undefined;
	export let autoscroll = true;

BaseExample

	export let value: string;
	export let type: "gallery" | "table";
	export let selected = false;