Commit ·
13fe440
1
Parent(s): bb213b3
Update index.html
Browse files6 unmodified lines789101112139 unmodified lines232425262728293031323334353637383940414243444546474849506 unmodified lines<link rel="stylesheet" href="https://huggingface.co/spaces/vk-ai-system/flask_inference_api/resolve/main/style.css" /><script src="https://cdn.jsdelivr.net/npm/@gradio/client@0.4.1/dist/index.min.js"></script>9 unmodified lines</div><script>import { client } from "@gradio/client";const app = await client("https://hysts-kandinsky-2-2.hf.space/");const result = await app.predict("/run", ["Howdy!", // string in 'Prompt' Textbox component"Howdy!", // string in 'Negative prompt' Textbox component0, // number (numeric value between 0 and 2147483647) in 'Seed' Slider component256, // number (numeric value between 256 and 1024) in 'Width' Slider component256, // number (numeric value between 256 and 1024) in 'Height' Slider component1, // number (numeric value between 1 and 20) in 'Guidance scale for prior' Slider component1, // number (numeric value between 1 and 20) in 'Guidance scale' Slider component10, // number (numeric value between 10 and 100) in 'Number of inference steps for prior' Slider component10, // number (numeric value between 10 and 150) in 'Number of inference steps' Slider component]);console.log(result.data);</script>6 unmodified lines789101112139 unmodified lines2324252627286 unmodified lines<link rel="stylesheet" href="https://huggingface.co/spaces/vk-ai-system/flask_inference_api/resolve/main/style.css" />9 unmodified lines</div>
index.html+1-23