JunhaoZhuang
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -66,30 +66,30 @@ from util import util
|
|
66 |
from huggingface_hub import snapshot_download
|
67 |
|
68 |
|
69 |
-
article = r"""
|
70 |
-
If ColorFlow is helpful, please help to β the <a href='https://github.com/TencentARC/ColorFlow' target='_blank'>Github Repo</a>. Thanks! [![GitHub Stars](https://img.shields.io/github/stars/TencentARC/ColorFlow)](https://github.com/TencentARC/ColorFlow)
|
71 |
-
---
|
72 |
-
|
73 |
-
π§ **Contact**
|
74 |
-
<br>
|
75 |
-
If you have any questions, please feel free to reach me out at <b>[email protected]</b>.
|
76 |
-
|
77 |
-
π **Citation**
|
78 |
-
<br>
|
79 |
-
If our work is useful for your research, please consider citing:
|
80 |
-
```bibtex
|
81 |
-
@misc{zhuang2024colorflow,
|
82 |
-
|
83 |
-
|
84 |
-
|
85 |
-
|
86 |
-
|
87 |
-
|
88 |
-
|
89 |
-
}
|
90 |
-
```
|
91 |
-
|
92 |
-
"""
|
93 |
|
94 |
model_global_path = snapshot_download(repo_id="TencentARC/ColorFlow", cache_dir='./colorflow/', repo_type="model")
|
95 |
print(model_global_path)
|
@@ -538,5 +538,29 @@ with gr.Blocks() as demo:
|
|
538 |
examples_per_page=6,
|
539 |
)
|
540 |
|
541 |
-
gr.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
542 |
demo.launch()
|
|
|
66 |
from huggingface_hub import snapshot_download
|
67 |
|
68 |
|
69 |
+
# article = r"""
|
70 |
+
# If ColorFlow is helpful, please help to β the <a href='https://github.com/TencentARC/ColorFlow' target='_blank'>Github Repo</a>. Thanks! [![GitHub Stars](https://img.shields.io/github/stars/TencentARC/ColorFlow)](https://github.com/TencentARC/ColorFlow)
|
71 |
+
# ---
|
72 |
+
|
73 |
+
# π§ **Contact**
|
74 |
+
# <br>
|
75 |
+
# If you have any questions, please feel free to reach me out at <b>[email protected]</b>.
|
76 |
+
|
77 |
+
# π **Citation**
|
78 |
+
# <br>
|
79 |
+
# If our work is useful for your research, please consider citing:
|
80 |
+
# ```bibtex
|
81 |
+
# @misc{zhuang2024colorflow,
|
82 |
+
# title={ColorFlow: Retrieval-Augmented Image Sequence Colorization},
|
83 |
+
# author={Junhao Zhuang and Xuan Ju and Zhaoyang Zhang and Yong Liu and Shiyi Zhang and Chun Yuan and Ying Shan},
|
84 |
+
# year={2024},
|
85 |
+
# eprint={2412.11815},
|
86 |
+
# archivePrefix={arXiv},
|
87 |
+
# primaryClass={cs.CV},
|
88 |
+
# url={https://arxiv.org/abs/2412.11815},
|
89 |
+
# }
|
90 |
+
# ```
|
91 |
+
|
92 |
+
# """
|
93 |
|
94 |
model_global_path = snapshot_download(repo_id="TencentARC/ColorFlow", cache_dir='./colorflow/', repo_type="model")
|
95 |
print(model_global_path)
|
|
|
538 |
examples_per_page=6,
|
539 |
)
|
540 |
|
541 |
+
gr.HTML(
|
542 |
+
'<a href="https://github.com/TencentARC/ColorFlow"><img src="https://img.shields.io/github/stars/TencentARC/ColorFlow" alt="GitHub Stars"></a>'
|
543 |
+
)
|
544 |
+
gr.HTML(
|
545 |
+
"""
|
546 |
+
π§ **Contact**<br>
|
547 |
+
If you have any questions, please feel free to reach me out at <b>[email protected]</b>.
|
548 |
+
|
549 |
+
π **Citation**<br>
|
550 |
+
If our work is useful for your research, please consider citing:
|
551 |
+
```
|
552 |
+
@misc{zhuang2024colorflow,
|
553 |
+
title={ColorFlow: Retrieval-Augmented Image Sequence Colorization},
|
554 |
+
author={Junhao Zhuang and Xuan Ju and Zhaoyang Zhang and Yong Liu and Shiyi Zhang and Chun Yuan and Ying Shan},
|
555 |
+
year={2024},
|
556 |
+
eprint={2412.11815},
|
557 |
+
archivePrefix={arXiv},
|
558 |
+
primaryClass={cs.CV},
|
559 |
+
url={https://arxiv.org/abs/2412.11815},
|
560 |
+
}
|
561 |
+
```
|
562 |
+
"""
|
563 |
+
)
|
564 |
+
|
565 |
+
|
566 |
demo.launch()
|