def save_to_db(source_path, target_path, output_path): # Open the images in binary mode with open(source_path, 'rb') as source_file, open(target_path, 'rb') as target_file, open(output_path, 'rb') as output_file: # read data from the image files source_data = source_file.re...
Original file line numberDiff line numberDiff line change @@ -48,3 +48,28 @@ jobs: repo_name: k2-fsa/sherpa-onnx repo_token: ${{ secrets.UPLOAD_GH_SHERPA_ONNX_TOKEN }} tag: speaker-recongition-models - name: Publish to huggingface env: HF_TOKEN: ${{ secrets.HF_TOKEN }} uses...
"ModelOwner": "http://huggingface.co/", "ModelOwnerURL": "http://huggingface.co/", "ModelURL": "https://huggingface.co/albert-large-v2", "ModelArchitecture": "albert", "ModelTask": "fill-mask", "Likes": 8, "Downloads": 31883, "LastModified": "2021-01-13T15:35:47.00...
"ModelOwnerURL": "https://huggingface.co/dreamlike-art", "ModelURL": "https://huggingface.co/dreamlike-art/dreamlike-photoreal-2.0", "ModelTask": "text-to-image", "Likes": 452, "Downloads": 44519, "LastModified": "2023-01-18T21:49:35.000Z" }, { "id": 404, "Model...
- Upload folder using huggingface_hub (b556ac0ef213de8d4a9dfc71aea428366fe3b1b0)main Ashiq Hussain authored and system committed Aug 24, 2023 1 parent 3ff7f2c commit 47b8788 Show file tree Hide file tree Showing 67 changed files with 363 additions and 363 deletions. Whitespace Ignore...
Wauplin deleted the 1246-accept-pathlib-in-upload-file branch December 7, 2022 17:23 Wauplin mentioned this pull request Dec 16, 2022 Huggingface Integration vwxyzjn/cleanrl#292 Merged 20 tasks Sign up for free to join this conversation on GitHub. Already have an account? Sign in ...
"ModelOwnerURL": "https://huggingface.co/eimiss", "ModelURL": "https://huggingface.co/eimiss/EimisAnimeDiffusion_1.0v", "ModelTask": "text-to-image", "Likes": 243, "Downloads": 127778, "LastModified": "2022-12-16T20:56:21.000Z" }, { "id": 128, "ModelName": ...
"ModelOwnerURL": "https://huggingface.co/runwayml", "ModelURL": "https://huggingface.co/runwayml/stable-diffusion-v1-5", "ModelTask": "text-to-image", "Likes": 4387, "Downloads": 1285362, "LastModified": "2022-12-19T15:29:28.000Z" }, { "id": 308, "ModelName"...
const file = event.dataTransfer.items[0].getAsFile(); if (file) { // check if the file matches the mimeTypes if ( !mimeTypes.some((mimeType: string) => { const [type, subtype] = mimeType.split("/"); const [fileType, fileSubtype] = file.type.split("/"); ...
Describe the bug https://huggingface.co/spaces/InstantX/InstantID I was trying to invoke this endpoint with both the Python client and the JavaScript client. The Python client works fine and the JS client doesn't work. I received an erro...