-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ffc33fa
commit 798a76f
Showing
121 changed files
with
752 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,14 @@ | ||
# @gradio/annotatedimage | ||
|
||
## 0.8.0-beta.7 | ||
|
||
### Dependency updates | ||
|
||
- @gradio/[email protected] | ||
- @gradio/[email protected] | ||
- @gradio/[email protected] | ||
- @gradio/[email protected] | ||
|
||
## 0.8.0-beta.6 | ||
|
||
### Dependency updates | ||
|
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,5 +1,19 @@ | ||
# @self/app | ||
|
||
## 1.41.0-beta.7 | ||
|
||
### Features | ||
|
||
- [#9590](https://github.com/gradio-app/gradio/pull/9590) [`e853c41`](https://github.com/gradio-app/gradio/commit/e853c413583d91186aef3aceb0849d0ec0494834) - SSR e2e + fixes. Thanks @pngwn! | ||
- [#9482](https://github.com/gradio-app/gradio/pull/9482) [`bd6c5f2`](https://github.com/gradio-app/gradio/commit/bd6c5f237b0631d86273c7684c3bf2b1011992a3) - Fix custom component CLI on main/5.0. Thanks @freddyaboulton! | ||
- [#9576](https://github.com/gradio-app/gradio/pull/9576) [`430a26a`](https://github.com/gradio-app/gradio/commit/430a26a4fbcbabb5e9ddb6173bf658a00960e88e) - Fix reload mode. Thanks @freddyaboulton! | ||
- [#9592](https://github.com/gradio-app/gradio/pull/9592) [`24fe222`](https://github.com/gradio-app/gradio/commit/24fe222fd17583d04dd31aebf60b649224e8382f) - Fix favicon in ssr mode. Thanks @freddyaboulton! | ||
|
||
### Dependency updates | ||
|
||
- @gradio/[email protected] | ||
- @self/[email protected] | ||
|
||
## 1.41.0-beta.6 | ||
|
||
### Dependency updates | ||
|
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,5 +1,15 @@ | ||
# @gradio/atoms | ||
|
||
## 0.9.0-beta.5 | ||
|
||
### Features | ||
|
||
- [#9437](https://github.com/gradio-app/gradio/pull/9437) [`c3d93be`](https://github.com/gradio-app/gradio/commit/c3d93bef94b9401747a363f7bad88a1d347d535b) - Adding new themes to Gradio 5.0. Thanks @allisonwhilden! | ||
|
||
### Dependency updates | ||
|
||
- @gradio/[email protected] | ||
|
||
## 0.9.0-beta.4 | ||
|
||
### Features | ||
|
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,5 +1,15 @@ | ||
# @gradio/audio | ||
|
||
## 0.14.0-beta.8 | ||
|
||
### Dependency updates | ||
|
||
- @gradio/[email protected] | ||
- @gradio/[email protected] | ||
- @gradio/[email protected] | ||
- @gradio/[email protected] | ||
- @gradio/[email protected] | ||
|
||
## 0.14.0-beta.7 | ||
|
||
### Dependency updates | ||
|
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.