JunhaoZhuang
commited on
Commit
β’
6a9a1ac
1
Parent(s):
45cccad
Update app.py
Browse files
app.py
CHANGED
@@ -66,30 +66,28 @@ from util import util
|
|
66 |
from huggingface_hub import snapshot_download
|
67 |
|
68 |
|
69 |
-
|
70 |
-
|
71 |
-
|
72 |
-
|
73 |
-
|
74 |
-
|
75 |
-
|
76 |
-
|
77 |
-
|
78 |
-
|
79 |
-
|
80 |
-
|
81 |
-
|
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)
|
@@ -537,30 +535,11 @@ with gr.Blocks() as demo:
|
|
537 |
label="Examples",
|
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()
|
|
|
66 |
from huggingface_hub import snapshot_download
|
67 |
|
68 |
|
69 |
+
article = r"""
|
70 |
+
π§ **Contact**
|
71 |
+
<br>
|
72 |
+
If you have any questions, please feel free to reach me out at <b>[email protected]</b>.
|
73 |
+
|
74 |
+
π **Citation**
|
75 |
+
<br>
|
76 |
+
If our work is useful for your research, please consider citing:
|
77 |
+
```bibtex
|
78 |
+
@misc{zhuang2024colorflow,
|
79 |
+
title={ColorFlow: Retrieval-Augmented Image Sequence Colorization},
|
80 |
+
author={Junhao Zhuang and Xuan Ju and Zhaoyang Zhang and Yong Liu and Shiyi Zhang and Chun Yuan and Ying Shan},
|
81 |
+
year={2024},
|
82 |
+
eprint={2412.11815},
|
83 |
+
archivePrefix={arXiv},
|
84 |
+
primaryClass={cs.CV},
|
85 |
+
url={https://arxiv.org/abs/2412.11815},
|
86 |
+
}
|
87 |
+
```
|
88 |
+
---
|
89 |
+
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)
|
90 |
+
"""
|
|
|
|
|
91 |
|
92 |
model_global_path = snapshot_download(repo_id="TencentARC/ColorFlow", cache_dir='./colorflow/', repo_type="model")
|
93 |
print(model_global_path)
|
|
|
535 |
label="Examples",
|
536 |
examples_per_page=6,
|
537 |
)
|
538 |
+
|
539 |
+
gr.Markdown(article)
|
540 |
gr.HTML(
|
541 |
'<a href="https://github.com/TencentARC/ColorFlow"><img src="https://img.shields.io/github/stars/TencentARC/ColorFlow" alt="GitHub Stars"></a>'
|
542 |
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
543 |
|
544 |
|
545 |
demo.launch()
|