2022-02-01 21:45:55 +08:00
|
|
|
<!DOCTYPE html>
|
2023-02-20 08:14:44 +08:00
|
|
|
<html
|
|
|
|
lang="en"
|
|
|
|
style="
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
min-height: 100%;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
"
|
|
|
|
>
|
2022-02-02 23:49:37 +08:00
|
|
|
<head>
|
|
|
|
<meta charset="utf-8" />
|
|
|
|
<meta
|
|
|
|
name="viewport"
|
2022-05-17 02:55:24 +08:00
|
|
|
content="width=device-width, initial-scale=1, shrink-to-fit=no, maximum-scale=1"
|
2022-02-02 23:49:37 +08:00
|
|
|
/>
|
2022-02-01 21:45:55 +08:00
|
|
|
|
2022-02-07 22:34:53 +08:00
|
|
|
<script type="module" src="./src/main.ts"></script>
|
2022-02-02 23:49:37 +08:00
|
|
|
<meta property="og:url" content="https://gradio.app/" />
|
|
|
|
<meta property="og:type" content="website" />
|
|
|
|
<meta property="og:image" content="{{ config['thumbnail'] or '' }}" />
|
|
|
|
<meta property="og:title" content="{{ config['title'] or '' }}" />
|
|
|
|
<meta
|
|
|
|
property="og:description"
|
2022-02-03 22:12:48 +08:00
|
|
|
content="{{ config['simple_description'] or '' }}"
|
2022-02-02 23:49:37 +08:00
|
|
|
/>
|
|
|
|
<meta name="twitter:card" content="summary_large_image" />
|
|
|
|
<meta name="twitter:creator" content="@teamGradio" />
|
|
|
|
<meta name="twitter:title" content="{{ config['title'] or '' }}" />
|
|
|
|
<meta
|
|
|
|
name="twitter:description"
|
2022-02-03 22:12:48 +08:00
|
|
|
content="{{ config['simple_description'] or '' }}"
|
2022-02-02 23:49:37 +08:00
|
|
|
/>
|
|
|
|
<meta name="twitter:image" content="{{ config['thumbnail'] or '' }}" />
|
2022-05-04 05:44:17 +08:00
|
|
|
|
2022-02-02 23:49:37 +08:00
|
|
|
<script>
|
2022-05-16 23:45:38 +08:00
|
|
|
window.__gradio_mode__ = "app";
|
2022-02-02 23:49:37 +08:00
|
|
|
</script>
|
2022-05-04 05:44:17 +08:00
|
|
|
|
|
|
|
%gradio_config%
|
|
|
|
|
2022-05-02 16:38:18 +08:00
|
|
|
<link rel="preconnect" href="https://fonts.googleapis.com" />
|
|
|
|
<link
|
|
|
|
rel="preconnect"
|
|
|
|
href="https://fonts.gstatic.com"
|
|
|
|
crossorigin="anonymous"
|
|
|
|
/>
|
2022-02-02 23:49:37 +08:00
|
|
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/iframe-resizer/4.3.1/iframeResizer.contentWindow.min.js"></script>
|
|
|
|
</head>
|
2022-02-01 21:45:55 +08:00
|
|
|
|
2023-02-18 02:51:00 +08:00
|
|
|
<body
|
2023-02-20 08:14:44 +08:00
|
|
|
style="
|
|
|
|
width: 100%;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
flex-grow: 1;
|
|
|
|
"
|
2023-02-18 02:51:00 +08:00
|
|
|
>
|
2023-02-20 08:14:44 +08:00
|
|
|
<gradio-app
|
|
|
|
control_page_title="true"
|
|
|
|
embed="false"
|
|
|
|
eager="true"
|
|
|
|
style="display: flex; flex-direction: column; flex-grow: 1"
|
|
|
|
>
|
2022-08-03 00:36:50 +08:00
|
|
|
</gradio-app>
|
2022-06-18 11:36:50 +08:00
|
|
|
<script>
|
|
|
|
const ce = document.getElementsByTagName("gradio-app");
|
|
|
|
if (ce[0]) {
|
|
|
|
ce[0].addEventListener("domchange", () => {
|
|
|
|
document.body.style.padding = "0";
|
|
|
|
});
|
|
|
|
document.body.style.padding = "0";
|
|
|
|
}
|
|
|
|
</script>
|
2022-02-02 23:49:37 +08:00
|
|
|
</body>
|
2022-02-01 21:45:55 +08:00
|
|
|
</html>
|