Download index.html from radames/test-api: direct link, hf CLI and curl.
- Browser
- Download file 994 Bytes
-
https://huggingface.co/spaces/radames/test-api/resolve/main/index.html
- Command line
-
hf download hf://spaces/radames/test-api/index.html
-
curl -L -o index.html https://huggingface.co/spaces/radames/test-api/resolve/main/index.html
994 Bytes
| <html> | |
| <head> | |
| <meta charset="utf-8" /> | |
| <meta name="viewport" content="width=device-width" /> | |
| <title>My static Space</title> | |
| <link rel="stylesheet" href="style.css" /> | |
| </head> | |
| <body> | |
| <script type="module"> | |
| import { Client } from "https://esm.run/@gradio/client"; | |
| const client = await Client.connect("radames/flash-sd3-taesd3"); | |
| const result = await client.predict("/infer", { | |
| prompt: "Hello!!", | |
| seed: 0, | |
| randomize_seed: true, | |
| }); | |
| console.log(result.data); | |
| </script> | |
| <div class="card"> | |
| <h1>Welcome to your static Space!</h1> | |
| <p>You can modify this app directly by editing <i>index.html</i> in the Files and versions tab.</p> | |
| <p> | |
| Also don't forget to check the | |
| <a href="https://huggingface.co/docs/hub/spaces" target="_blank">Spaces documentation</a>. | |
| </p> | |
| </div> | |
| </body> | |
| </html> | |