Spaces:
Running
Running
Download ai.js from SpawnedShoyo/html: direct link, hf CLI and curl.
- Browser
- Download file 227 Bytes
-
https://huggingface.co/spaces/SpawnedShoyo/html/resolve/main/ai.js
- Command line
-
hf download hf://spaces/SpawnedShoyo/html/ai.js
-
curl -L -o ai.js https://huggingface.co/spaces/SpawnedShoyo/html/resolve/main/ai.js
227 Bytes
| <script src="https://cdn.jsdelivr.net/npm/@huggingface/hf-ai/dist/hf-ai.min.js"></script> | |
| const model = new hf.Model({ repo: 'openai/whisper-large-v3' }); | |
| function generateResponse(input) { | |
| return model.generate(input); | |
| } |