Spaces:
Running
on
Zero
Running
on
Zero
liuhuijie03
commited on
Commit
·
dc9149c
1
Parent(s):
a7f36ba
update
Browse files
README.md
CHANGED
|
@@ -24,7 +24,7 @@ tags:
|
|
| 24 |
<a href="https://Kwai-Kolors.github.io/CoTyle/"><img alt="Build" src="https://img.shields.io/badge/Project%20Page-Homepage-yellow"></a>
|
| 25 |
<a href="https://github.com/Kwai-Kolors/CoTyle"><img alt="Build" src="https://img.shields.io/badge/GitHub-Code-f8f0f0.svg"></a>
|
| 26 |
<a href="https://huggingface.co/spaces/Kwai-Kolors/CoTyle"><img src="https://img.shields.io/badge/%F0%9F%A4%97%20Hugging%20Face-Demo-32CD32"></a>
|
| 27 |
-
<a href="https://huggingface.co/Kwai-Kolors/
|
| 28 |
</p>
|
| 29 |
|
| 30 |
<p align="center">
|
|
@@ -52,7 +52,7 @@ class="center">
|
|
| 52 |
|
| 53 |
## 🔥 News
|
| 54 |
- [11/13/2025] The [demo](https://huggingface.co/spaces/Kwai-Kolors/CoTyle) of CoTyle-Dev is released on Hugging Face.
|
| 55 |
-
- [11/13/2025] The [weights](https://huggingface.co/Kwai-Kolors/
|
| 56 |
- [11/13/2025] The [code](https://github.com/Kwai-Kolors/CoTyle) is released!
|
| 57 |
- [11/13/2025] The [homepage](https://Kwai-Kolors.github.io/CoTyle/) of CoTyle is released.
|
| 58 |
- [11/13/2025] The [paper](https://xxx) of CoTyle is released.
|
|
@@ -84,10 +84,10 @@ pip install -r requirements.txt
|
|
| 84 |
|
| 85 |
### ⏬ Download
|
| 86 |
Please download the checkpoints and put them to the `./pretrained_models` directory.
|
| 87 |
-
You can download them from [Hugging Face](https://huggingface.co/Kwai-Kolors/
|
| 88 |
```bash
|
| 89 |
git lfs install
|
| 90 |
-
git clone https://huggingface.co/Kwai-Kolors/
|
| 91 |
mv Kolors-CoTyle pretrained_models
|
| 92 |
```
|
| 93 |
|
|
@@ -143,7 +143,7 @@ Similarly, you can enable the `--accelerate` to speed up.
|
|
| 143 |
|
| 144 |
## 📲 Gradio Apps
|
| 145 |
We provide Gradio apps for interactivate inference with the CoTyle.
|
| 146 |
-
Official apps are available on [HuggingFace Spaces](https://huggingface.co/Kwai-Kolors/
|
| 147 |
You can run the fllowing code to use Gradio Apps.
|
| 148 |
```bash
|
| 149 |
python app.py
|
|
|
|
| 24 |
<a href="https://Kwai-Kolors.github.io/CoTyle/"><img alt="Build" src="https://img.shields.io/badge/Project%20Page-Homepage-yellow"></a>
|
| 25 |
<a href="https://github.com/Kwai-Kolors/CoTyle"><img alt="Build" src="https://img.shields.io/badge/GitHub-Code-f8f0f0.svg"></a>
|
| 26 |
<a href="https://huggingface.co/spaces/Kwai-Kolors/CoTyle"><img src="https://img.shields.io/badge/%F0%9F%A4%97%20Hugging%20Face-Demo-32CD32"></a>
|
| 27 |
+
<a href="https://huggingface.co/Kwai-Kolors/CoTyle"><img src="https://img.shields.io/badge/%F0%9F%A4%97%20Hugging%20Face-Model-fd8b02"></a>
|
| 28 |
</p>
|
| 29 |
|
| 30 |
<p align="center">
|
|
|
|
| 52 |
|
| 53 |
## 🔥 News
|
| 54 |
- [11/13/2025] The [demo](https://huggingface.co/spaces/Kwai-Kolors/CoTyle) of CoTyle-Dev is released on Hugging Face.
|
| 55 |
+
- [11/13/2025] The [weights](https://huggingface.co/Kwai-Kolors/CoTyle) of CoTyle-Dev are released on Hugging Face.
|
| 56 |
- [11/13/2025] The [code](https://github.com/Kwai-Kolors/CoTyle) is released!
|
| 57 |
- [11/13/2025] The [homepage](https://Kwai-Kolors.github.io/CoTyle/) of CoTyle is released.
|
| 58 |
- [11/13/2025] The [paper](https://xxx) of CoTyle is released.
|
|
|
|
| 84 |
|
| 85 |
### ⏬ Download
|
| 86 |
Please download the checkpoints and put them to the `./pretrained_models` directory.
|
| 87 |
+
You can download them from [Hugging Face](https://huggingface.co/Kwai-Kolors/CoTyle/tree/main).
|
| 88 |
```bash
|
| 89 |
git lfs install
|
| 90 |
+
git clone https://huggingface.co/Kwai-Kolors/CoTyle
|
| 91 |
mv Kolors-CoTyle pretrained_models
|
| 92 |
```
|
| 93 |
|
|
|
|
| 143 |
|
| 144 |
## 📲 Gradio Apps
|
| 145 |
We provide Gradio apps for interactivate inference with the CoTyle.
|
| 146 |
+
Official apps are available on [HuggingFace Spaces](https://huggingface.co/Kwai-Kolors/CoTyle)
|
| 147 |
You can run the fllowing code to use Gradio Apps.
|
| 148 |
```bash
|
| 149 |
python app.py
|
app.py
CHANGED
|
@@ -38,7 +38,7 @@ from functools import partial
|
|
| 38 |
|
| 39 |
|
| 40 |
|
| 41 |
-
REPO_ID = "Kwai-Kolors/
|
| 42 |
HF_TOKEN = os.getenv("HF_TOKEN")
|
| 43 |
|
| 44 |
device = "cuda" if torch.cuda.is_available() else "cpu"
|
|
@@ -419,7 +419,7 @@ with gr.Blocks(
|
|
| 419 |
<a href="https://Kwai-Kolors.github.io/CoTyle/"><img alt="Build" src="https://img.shields.io/badge/Project%20Page-Homepage-yellow"></a>
|
| 420 |
<a href="https://github.com/Kwai-Kolors/CoTyle"><img alt="Build" src="https://img.shields.io/badge/GitHub-Code-f8f0f0.svg"></a>
|
| 421 |
<a href="https://huggingface.co/spaces/Kwai-Kolors/CoTyle"><img src="https://img.shields.io/badge/%F0%9F%A4%97%20Hugging%20Face-Demo-32CD32"></a>
|
| 422 |
-
<a href="https://huggingface.co/Kwai-Kolors/
|
| 423 |
</div>
|
| 424 |
</div>
|
| 425 |
"""
|
|
|
|
| 38 |
|
| 39 |
|
| 40 |
|
| 41 |
+
REPO_ID = "Kwai-Kolors/CoTyle"
|
| 42 |
HF_TOKEN = os.getenv("HF_TOKEN")
|
| 43 |
|
| 44 |
device = "cuda" if torch.cuda.is_available() else "cpu"
|
|
|
|
| 419 |
<a href="https://Kwai-Kolors.github.io/CoTyle/"><img alt="Build" src="https://img.shields.io/badge/Project%20Page-Homepage-yellow"></a>
|
| 420 |
<a href="https://github.com/Kwai-Kolors/CoTyle"><img alt="Build" src="https://img.shields.io/badge/GitHub-Code-f8f0f0.svg"></a>
|
| 421 |
<a href="https://huggingface.co/spaces/Kwai-Kolors/CoTyle"><img src="https://img.shields.io/badge/%F0%9F%A4%97%20Hugging%20Face-Demo-32CD32"></a>
|
| 422 |
+
<a href="https://huggingface.co/Kwai-Kolors/CoTyle"><img src="https://img.shields.io/badge/%F0%9F%A4%97%20Hugging%20Face-Model-fd8b02"></a>
|
| 423 |
</div>
|
| 424 |
</div>
|
| 425 |
"""
|