Spaces:
Running
Running
Download index.html from SpawnedShoyo/html: direct link, hf CLI and curl.
- Browser
- Download file 402 Bytes
-
https://huggingface.co/spaces/SpawnedShoyo/html/resolve/main/index.html
- Command line
-
hf download hf://spaces/SpawnedShoyo/html/index.html
-
curl -L -o index.html https://huggingface.co/spaces/SpawnedShoyo/html/resolve/main/index.html
402 Bytes
| <textarea id="userInput" rows="4" cols="50"></textarea> | |
| <button onclick="getResponse()">Get Response</button> | |
| <div id="response"></div> | |
| <script src="ai.js"></script> | |
| <script> | |
| function getResponse() { | |
| const input = document.getElementById('userInput').value; | |
| const response = generateResponse(input); | |
| document.getElementById('response').innerText = response; | |
| } | |
| </script> |