gradio/js/_cdn-test/index.html

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

321 lines
9.7 KiB
HTML
Raw Normal View History

2023-07-07 01:43:49 +08:00
<!doctype html>
<html lang="en">
2023-07-07 01:43:49 +08:00
<head>
<style>
html {
/* background: #111; */
/* color: #eee; */
font-family: Source Sans Pro;
}
</style>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="favicon.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<script type="module" src="http://localhost:4321/gradio.js"></script>
<!-- <script type="module" src="https://gradio.s3-us-west-2.amazonaws.com/3.18.1b6/gradio.js"></script> -->
<!-- <script type="module" src="https://gradio.s3-us-west-2.amazonaws.com/3.18.0/gradio.js"></script> -->
<!-- <script src="https://cdnjs.cloudflare.com/ajax/libs/iframe-resizer/4.3.6/iframeResizer.min.js"></script> -->
2023-07-07 01:43:49 +08:00
<title>Vite App</title>
</head>
Converting the website into sveltekit (#3437) * index page * demos page * guides gallery page * guides * some docs work * changes * changes * docs work * refactor some to ssr * more refactoring * add metatags * add special docs pages and improve nav * fix prev next in combining * add changelog * Site slugs for new website (#3431) * safe slugs for docs * add slugs to guides * changes * add flagging --------- Co-authored-by: aliabd <ali.si3luwa@gmail.com> * make anchor tags visible on hover * add anchor tags to docs * fix @html in codeblocks * fix demos in guides * syntax highlighting code in example usage * fix @html in changelog * fix contributing lin * fix assets in guides * fix broken assets on build * error page * fix meta tags updating * move guides to be /guides/[guide] instead of /[guide] * add headers to sections and make them linkable - freddy feedback * add guides section to docs * tighten width and add second nav bar * styling second nav bar * smooth scrolling in docs and guides * make components clickable in event listener graph * load latest gradio.js * menu bar on docs mobile * scrolling highlight menu and remove base docs page * vercel * refactor guides * fix slugs in docs * fix &lt; and code formatting in guides * added search * redirect all old links * fix bad merge * fix paths * Fix css issue with spaces logo * add status page link to footer * add themes to docs * fix new documentation.py path * add python client docs * make docs faster * add clients ot docs * colors * convert to adapter static * prerender * fix broken paths in guides * fix broken slugs * Aliabd/website sveltekit test (#4572) * fixes to paths * fixes * typechecking * fix * fix * fix * types lib * more type fixes * extends fix * typing fix * typing fix * json typing fix * add jsons * rollup * tweak * fix lockfile * fix maybe * fix maybe * changes * ui functional fix * oops * pnpm version * fix app --------- Co-authored-by: pngwn <hello@pngwn.io> Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-07-04 21:33:22 +08:00
2023-07-07 01:43:49 +08:00
<body>
<!-- <h1>Hello title</h1>
<h2>hello subtitle</h2>
<p>
Hello text. Hello text. Hello text. Hello text. Hello text. Hello text.
Hello text. Hello text. Hello text. Hello text. Hello text. Hello text.
Hello text. Hello text.
</p>
<p>
Hello text. Hello text. Hello text. Hello text. Hello text. Hello text.
Hello text. Hello text. Hello text. Hello text. Hello text. Hello text.
Hello text. Hello text.
</p>
<p>
Hello text. Hello text. Hello text. Hello text. Hello text. Hello text.
Hello text. Hello text. Hello text. Hello text. Hello text. Hello text.
Hello text. Hello text.
</p>
<p>
Hello text. Hello text. Hello text. Hello text. Hello text. Hello text.
Hello text. Hello text. Hello text. Hello text. Hello text. Hello text.
Hello text. Hello text.
</p>
<p>
Hello text. Hello text. Hello text. Hello text. Hello text. Hello text.
Hello text. Hello text. Hello text. Hello text. Hello text. Hello text.
Hello text. Hello text.
</p>
<p>
Hello text. Hello text. Hello text. Hello text. Hello text. Hello text.
Hello text. Hello text. Hello text. Hello text. Hello text. Hello text.
Hello text. Hello text.
</p>
<p>
Hello text. Hello text. Hello text. Hello text. Hello text. Hello text.
Hello text. Hello text. Hello text. Hello text. Hello text. Hello text.
Hello text. Hello text.
</p>
<p>
Hello text. Hello text. Hello text. Hello text. Hello text. Hello text.
Hello text. Hello text. Hello text. Hello text. Hello text. Hello text.
Hello text. Hello text.
</p>
<p>
Hello text. Hello text. Hello text. Hello text. Hello text. Hello text.
Hello text. Hello text. Hello text. Hello text. Hello text. Hello text.
Hello text. Hello text.
</p>
<p>
Hello text. Hello text. Hello text. Hello text. Hello text. Hello text.
Hello text. Hello text. Hello text. Hello text. Hello text. Hello text.
Hello text. Hello text.
</p>
<p>
Hello text. Hello text. Hello text. Hello text. Hello text. Hello text.
Hello text. Hello text. Hello text. Hello text. Hello text. Hello text.
Hello text. Hello text.
</p>
<p>
Hello text. Hello text. Hello text. Hello text. Hello text. Hello text.
Hello text. Hello text. Hello text. Hello text. Hello text. Hello text.
Hello text. Hello text.
</p>
<p>
Hello text. Hello text. Hello text. Hello text. Hello text. Hello text.
Hello text. Hello text. Hello text. Hello text. Hello text. Hello text.
Hello text. Hello text.
</p>
<p>
Hello text. Hello text. Hello text. Hello text. Hello text. Hello text.
Hello text. Hello text. Hello text. Hello text. Hello text. Hello text.
Hello text. Hello text.
</p>
<p>
Hello text. Hello text. Hello text. Hello text. Hello text. Hello text.
Hello text. Hello text. Hello text. Hello text. Hello text. Hello text.
Hello text. Hello text.
</p>
<p>
Hello text. Hello text. Hello text. Hello text. Hello text. Hello text.
Hello text. Hello text. Hello text. Hello text. Hello text. Hello text.
Hello text. Hello text.
</p>
<p>
Hello text. Hello text. Hello text. Hello text. Hello text. Hello text.
Hello text. Hello text. Hello text. Hello text. Hello text. Hello text.
Hello text. Hello text.
</p>
<p>
Hello text. Hello text. Hello text. Hello text. Hello text. Hello text.
Hello text. Hello text. Hello text. Hello text. Hello text. Hello text.
Hello text. Hello text.
</p>
<p>
Hello text. Hello text. Hello text. Hello text. Hello text. Hello text.
Hello text. Hello text. Hello text. Hello text. Hello text. Hello text.
Hello text. Hello text.
</p>
<p>
Hello text. Hello text. Hello text. Hello text. Hello text. Hello text.
Hello text. Hello text. Hello text. Hello text. Hello text. Hello text.
Hello text. Hello text.
</p>
<p>
Hello text. Hello text. Hello text. Hello text. Hello text. Hello text.
Hello text. Hello text. Hello text. Hello text. Hello text. Hello text.
Hello text. Hello text.
</p>
<p>
Hello text. Hello text. Hello text. Hello text. Hello text. Hello text.
Hello text. Hello text. Hello text. Hello text. Hello text. Hello text.
Hello text. Hello text.
</p>
<p>
Hello text. Hello text. Hello text. Hello text. Hello text. Hello text.
Hello text. Hello text. Hello text. Hello text. Hello text. Hello text.
Hello text. Hello text.
</p>
<p>
Hello text. Hello text. Hello text. Hello text. Hello text. Hello text.
Hello text. Hello text. Hello text. Hello text. Hello text. Hello text.
Hello text. Hello text.
</p>
<h2>hello subtitle</h2>
<p>
Hello text. Hello text. Hello text. Hello text. Hello text. Hello text.
Hello text. Hello text. Hello text. Hello text. Hello text. Hello text.
Hello text. Hello text.
</p>
<p>
Hello text. Hello text. Hello text. Hello text. Hello text. Hello text.
Hello text. Hello text. Hello text. Hello text. Hello text. Hello text.
Hello text. Hello text.
</p>
<p>
Hello text. Hello text. Hello text. Hello text. Hello text. Hello text.
Hello text. Hello text. Hello text. Hello text. Hello text. Hello text.
Hello text. Hello text.
</p> -->
2023-07-07 01:43:49 +08:00
<!-- https://huggingface.co/spaces/freddyaboulton/blocks-essay -->
<!-- <gradio-app
space="freddyaboulton/timeseries-forecasting-with-prophet
"
></gradio-app> -->
2023-07-07 01:43:49 +08:00
<!-- -->
<!-- </p> -->
2023-07-07 01:43:49 +08:00
<!-- <gradio-app space="awacke1/GradioAutoPlotFromCSV" info="false"></gradio-app>
<gradio-app
space="gradio/plot_component_main"
initial_height="400px"
control_page_title="true"
></gradio-app>
<gradio-app
space="gradio/colorpicker_component_main"
initial_height="400px"
control_page_title="true"
></gradio-app>
<gradio-app
space="gradio/live_with_vars_main"
initial_height="400px"
control_page_title="true"
></gradio-app>
<h2>no src</h2>
<gradio-app
src=""
initial_height="400px"
control_page_title="true"
></gradio-app>
<h2>no host</h2>
<gradio-app
host=""
initial_height="400px"
control_page_title="true"
></gradio-app>
<h2>no space</h2>
<gradio-app
space=""
initial_height="400px"
control_page_title="true"
></gradio-app>
<h2>invalid src</h2>
<gradio-app
src="https://pngwn-mu123sic-visualizer.hf.space"
initial_height="400px"
control_page_title="true"
></gradio-app>
<h2>invalid host</h2>
<gradio-app
host="asd.com"
initial_height="400px"
control_page_title="true"
></gradio-app>
<h2>invalid space</h2>
<gradio-app
space="asd/asd"
initial_height="400px"
control_page_title="true"
></gradio-app>
<gradio-app
src="https://pngwn-music-visualizer.hf.space"
initial_height="400px"
control_page_title="true"
></gradio-app>
<h2>Error: runtime error</h2>
<gradio-app
space="gradio/titanic_survival_main"
initial_height="400px"
control_page_title="true"
></gradio-app>
<h2>Error: no app file</h2>
<gradio-app
space="pngwn/AnimeGANv2_v3"
initial_height="400px"
control_page_title="true"
></gradio-app>
<h2>Error: no app file</h2>
<gradio-app
src="https://pngwn-animeganv2-v3.hf.space"
initial_height="400px"
control_page_title="true"
></gradio-app>
<h2>Error: build error</h2>
2023-01-28 17:47:14 +08:00
<gradio-app
space="pngwn/Stable-Diffusion-prompt-generator"
initial_height="400px"
control_page_title="true"
2023-01-28 17:47:14 +08:00
></gradio-app>
<h2>Error: build error</h2>
<gradio-app
src="https://pngwn-stable-diffusion-prompt-generato-85ff371.hf.space"
initial_height="400px"
control_page_title="true"
></gradio-app>
<h2>Config Error</h2>
<gradio-app
space="pngwn/clear-inputs"
initial_height="400px"
control_page_title="true"
></gradio-app>
<h2>Paused Space</h2>
<gradio-app
space="abidlabs/audioldm-text-to-audio-generation"
initial_height="400px"
control_page_title="true"
></gradio-app>
<h2>Working</h2>
-->
2023-07-07 01:43:49 +08:00
<gradio-app
space="gradio/live_with_vars"
initial_height="200px"
control_page_title="true"
></gradio-app>
<!-- <iframe
id="myIframe"
allow="accelerometer; ambient-light-sensor; autoplay; battery; camera; document-domain; encrypted-media; fullscreen; geolocation; gyroscope; layout-animations; legacy-image-formats; magnetometer; microphone; midi; oversized-images; payment; picture-in-picture; publickey-credentials-get; sync-xhr; usb; vr ; wake-lock; xr-spatial-tracking"
src="http://127.0.0.1:7860/"
frameborder="0"
></iframe> -->
2023-07-07 01:43:49 +08:00
<button>Toggle Space</button>
<script>
// iFrameResize(
// {
// log: false,
// checkOrigin: false,
// heightCalculationMethod: "lowestElement"
// },
// "#myIframe"
// );
2023-07-07 01:43:49 +08:00
let spaces = [
"gradio/live_with_vars",
"gradio/colorpicker_component_main"
];
2023-07-07 01:43:49 +08:00
const b = document.getElementsByTagName("button")[0];
b.addEventListener("click", update_space);
2023-07-07 01:43:49 +08:00
function update_space() {
const g = document.getElementsByTagName("gradio-app")[0];
g.setAttribute("space", spaces[1]);
const [_old, _new] = spaces;
spaces = [_new, _old];
}
</script>
</body>
</html>