Skip to content

Commit

Permalink
update the license and the model info for sd-turbo
Browse files Browse the repository at this point in the history
  • Loading branch information
NingW101 committed Jul 16, 2024
1 parent 792676c commit 5c09bbf
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
17 changes: 9 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,11 +105,12 @@ https://_your-server-ip_:8080

Some samples for this repository are based on modifications of examples from [Transformers.js](https://github.com/xenova/transformers.js)(Apache-2.0) and [MediaPipe](https://github.com/google-ai-edge/mediapipe)(Apache-2.0).

| Sample | Source | Model | Model License |
| --------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | -------------------------------------------------------------------------- |
| [Background Removal](./samples/image_background_removal/) | [Transformers.js](https://github.com/xenova/transformers.js/tree/main/examples/remove-background-client) | [RMBG-1.4](https://huggingface.co/briaai/RMBG-1.4) | [bria-rmbg-1.4](https://bria.ai/bria-huggingface-model-license-agreement/) |
| [Image to text](./samples/image_to_text/) | [Transformers.js](https://github.com/xenova/transformers.js/tree/main/examples/demo-site) | [ViT-GPT2](https://huggingface.co/nlpconnect/vit-gpt2-image-captioning) | Apache-2.0 |
| [Question Answering](./samples/question_answering/) | [Transformers.js](https://github.com/xenova/transformers.js/tree/main/examples/demo-site) | [DistilBERT](https://huggingface.co/distilbert/distilbert-base-cased-distilled-squad) | Apache-2.0 |
| [Summarization](./samples/summarization/) | [Transformers.js](https://github.com/xenova/transformers.js/tree/main/examples/demo-site) | [DistilBART CNN](https://huggingface.co/sshleifer/distilbart-cnn-6-6) | Apache-2.0 |
| [Phi3 WebGPU](./samples/phi3-webgpu/) | [Transformers.js](https://github.com/xenova/transformers.js/tree/v3/examples/webgpu-chat) | [Phi-3-mini-4k](https://huggingface.co/microsoft/Phi-3-mini-4k-instruct-onnx) | MIT |
| [LLM Gemma](./samples/llm_gemma/) | [MediaPipe](https://github.com/google-ai-edge/mediapipe) | [Gemma-2B](https://www.kaggle.com/models/google/gemma/tfLite/) | [Gemma](https://ai.google.dev/gemma/terms) |
| Sample | Source | Model | Model License |
| --------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------ |
| [Background Removal](./samples/image_background_removal/) | [Transformers.js](https://github.com/xenova/transformers.js/tree/main/examples/remove-background-client) | [RMBG-1.4](https://huggingface.co/briaai/RMBG-1.4) | [bria-rmbg-1.4](https://bria.ai/bria-huggingface-model-license-agreement/) |
| [Image to text](./samples/image_to_text/) | [Transformers.js](https://github.com/xenova/transformers.js/tree/main/examples/demo-site) | [ViT-GPT2](https://huggingface.co/nlpconnect/vit-gpt2-image-captioning) | Apache-2.0 |
| [Question Answering](./samples/question_answering/) | [Transformers.js](https://github.com/xenova/transformers.js/tree/main/examples/demo-site) | [DistilBERT](https://huggingface.co/distilbert/distilbert-base-cased-distilled-squad) | Apache-2.0 |
| [Summarization](./samples/summarization/) | [Transformers.js](https://github.com/xenova/transformers.js/tree/main/examples/demo-site) | [DistilBART CNN](https://huggingface.co/sshleifer/distilbart-cnn-6-6) | Apache-2.0 |
| [Phi3 WebGPU](./samples/phi3-webgpu/) | [Transformers.js](https://github.com/xenova/transformers.js/tree/v3/examples/webgpu-chat) | [Phi-3-mini-4k](https://huggingface.co/microsoft/Phi-3-mini-4k-instruct-onnx) | [MIT](https://huggingface.co/microsoft/Phi-3-mini-4k-instruct-onnx/blob/main/LICENSE) |
| [LLM Gemma](./samples/llm_gemma/) | [MediaPipe](https://github.com/google-ai-edge/mediapipe) | [Gemma-2B](https://www.kaggle.com/models/google/gemma/tfLite/) | [Gemma](https://ai.google.dev/gemma/terms) |
| [Stable Diffusion Turbo](./samples/stable_diffusion/) | [guschmue/ort-webgpu](https://github.com/guschmue/ort-webgpu/tree/master/sd-turbo) | [Stable Diffusion Turbo](https://huggingface.co/schmuell/sd-turbo-ort-web/) | [STABILITY AI COMMUNITY LICENSE AGREEMENT](https://huggingface.co/stabilityai/sd-turbo/blob/main/LICENSE.md) |
9 changes: 4 additions & 5 deletions samples/stable_diffusion/stable-diffusion.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
/*-------------------------------------------------------------------------------------------------
* Copyright (C) 2024 Intel Corporation. All rights reserved.
* Licensed under the Apache License 2.0. See LICENSE in the project root for license information.
* SPDX-License-Identifier: Apache-2.0
*-----------------------------------------------------------------------------------------------*/
/*
* This file is modified based on
* https://github.com/guschmue/ort-webgpu/blob/master/sd-turbo/index.html
*/

/* eslint-disable no-undef */
/* eslint-disable no-unused-vars */
Expand Down

0 comments on commit 5c09bbf

Please sign in to comment.