-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: update versions (beta) (#9586)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
- Loading branch information
1 parent
9fd9fda
commit 0ec31af
Showing
121 changed files
with
756 additions
and
56 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"name": "gradio", | ||
"version": "5.0.0-beta.8", | ||
"version": "5.0.0-beta.9", | ||
"description": "", | ||
"python": "true" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
import { colors } from "@gradio/theme"; | ||
export declare const get_next_color: (index: number) => keyof typeof colors; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
export * from "./color.js"; | ||
export * from "./utils.js"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
import type { ActionReturn } from "svelte/action"; | ||
import type { Client } from "@gradio/client"; | ||
import type { ComponentType, SvelteComponent } from "svelte"; | ||
export interface ValueData { | ||
value: any; | ||
is_value_data: boolean; | ||
} | ||
export interface SelectData { | ||
row_value?: any[]; | ||
index: number | [number, number]; | ||
value: any; | ||
selected?: boolean; | ||
} | ||
export interface LikeData { | ||
index: number | [number, number]; | ||
value: any; | ||
liked?: boolean; | ||
} | ||
export interface KeyUpData { | ||
key: string; | ||
input_value: string; | ||
} | ||
export interface ShareData { | ||
description: string; | ||
title?: string; | ||
} | ||
export declare class ShareError extends Error { | ||
constructor(message: string); | ||
} | ||
export declare function uploadToHuggingFace(data: string | { | ||
url?: string; | ||
path?: string; | ||
}, type: "base64" | "url"): Promise<string>; | ||
export declare function copy(node: HTMLDivElement): ActionReturn; | ||
export declare const format_time: (seconds: number) => string; | ||
interface Args { | ||
api_url: string; | ||
name: string; | ||
id?: string; | ||
variant: "component" | "example" | "base"; | ||
} | ||
type component_loader = (args: Args) => { | ||
name: "string"; | ||
component: { | ||
default: ComponentType<SvelteComponent>; | ||
}; | ||
}; | ||
export type I18nFormatter = any; | ||
export declare class Gradio<T extends Record<string, any> = Record<string, any>> { | ||
#private; | ||
theme: string; | ||
version: string; | ||
i18n: I18nFormatter; | ||
root: string; | ||
autoscroll: boolean; | ||
max_file_size: number | null; | ||
client: Client; | ||
_load_component?: component_loader; | ||
load_component: (name: string, variant?: "base" | "component" | "example" | undefined) => { | ||
name: "string"; | ||
component: { | ||
default: ComponentType<SvelteComponent>; | ||
}; | ||
}; | ||
constructor(id: number, el: HTMLElement, theme: string, version: string, root: string, autoscroll: boolean, max_file_size: number | null, i18n: I18nFormatter, client: Client, virtual_component_loader?: component_loader); | ||
dispatch<E extends keyof T>(event_name: E, data?: T[E]): void; | ||
} | ||
export declare const css_units: (dimension_value: string | number) => string; | ||
export {}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.