1 Star 0 Fork 7

sunnf/gradio

forked from Gitee 极速下载/gradio 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
globals.d.ts 761 Bytes
一键复制 编辑 原始数据 按行查看 历史
declare global {
interface Window {
__gradio_mode__: "app" | "website";
__gradio_space__: string | null;
launchGradio: Function;
launchGradioFromSpaces: Function;
gradio_config: Config;
scoped_css_attach: (link: HTMLLinkElement) => void;
__is_colab__: boolean;
parentIFrame?: {
scrollTo: (x: number, y: number) => void;
};
}
}
export interface Config {
auth_required: boolean | undefined;
auth_message: string;
components: any[];
css: string | null;
dependencies: any[];
dev_mode: boolean;
enable_queue: boolean;
layout: any;
mode: "blocks" | "interface";
root: string;
theme: string;
title: string;
version: string;
space_id: string | null;
is_colab: boolean;
show_api: boolean;
stylesheets: string[];
path: string;
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Python
1
https://gitee.com/sunnf8888/gradio.git
git@gitee.com:sunnf8888/gradio.git
sunnf8888
gradio
gradio
main

搜索帮助