mirror of
https://github.com/gradio-app/gradio.git
synced 2024-12-27 02:30:17 +08:00
1f7e5c7b41
* test commit * fix yellow colow * height fixes * fix * fix golder images Co-authored-by: Ali Abid <aliabid94@gmail.com>
54 lines
1.7 KiB
HTML
54 lines
1.7 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en" style="height: 100%; margin: 0; padding: 0">
|
|
<head>
|
|
<meta charset="utf-8" />
|
|
<meta
|
|
name="viewport"
|
|
content="width=device-width, initial-scale=1, shrink-to-fit=no"
|
|
/>
|
|
|
|
<script type="module" src="./src/main.ts"></script>
|
|
<title>{{ config['title'] or 'Gradio' }}</title>
|
|
<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"
|
|
content="{{ config['simple_description'] or '' }}"
|
|
/>
|
|
<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"
|
|
content="{{ config['simple_description'] or '' }}"
|
|
/>
|
|
<meta name="twitter:image" content="{{ config['thumbnail'] or '' }}" />
|
|
{%if config['analytics_enabled'] %}
|
|
<script
|
|
async
|
|
src="https://www.googletagmanager.com/gtag/js?id=UA-156449732-1"
|
|
></script>
|
|
{% endif %}
|
|
<script>
|
|
window.dataLayer = window.dataLayer || [];
|
|
function gtag() {
|
|
dataLayer.push(arguments);
|
|
}
|
|
gtag("js", new Date());
|
|
gtag("config", "UA-156449732-1");
|
|
window.gradio_mode = "app";
|
|
</script>
|
|
<script>
|
|
window.gradio_config = {{ config|tojson }};
|
|
</script>
|
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/iframe-resizer/4.3.1/iframeResizer.contentWindow.min.js"></script>
|
|
<title>Gradio</title>
|
|
</head>
|
|
|
|
<body style="height: 100%; margin: 0; padding: 0">
|
|
<div id="root" style="height: 100%"></div>
|
|
</body>
|
|
</html>
|