Spaces:
Running
Running
Update index.js
Browse files1234567import { pipeline, env } from 'https://cdn.jsdelivr.net/npm/@huggingface/transformers@3.4.1';// Since we will download the model from the Hugging Face Hub, we can skip the local model checkenv.allowLocalModels = false;// Reference the elements that we will needconst status = document.getElementById('status');1234import { pipeline } from 'https://cdn.jsdelivr.net/npm/@huggingface/transformers@3.4.1';// Reference the elements that we will needconst status = document.getElementById('status');
index.js+1-4