JunhaoZhuang commited on
Commit
0cf3e95
·
verified ·
1 Parent(s): b7a3308

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +23 -0
app.py CHANGED
@@ -59,6 +59,27 @@ from cobra_utils.utils import *
59
 
60
  from huggingface_hub import snapshot_download
61
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
62
  model_global_path = snapshot_download(repo_id="JunhaoZhuang/Cobra", cache_dir='./Cobra/', repo_type="model")
63
  print(model_global_path)
64
  examples = [
@@ -689,6 +710,8 @@ with gr.Blocks() as demo:
689
  label="Examples",
690
  examples_per_page=8,
691
  )
 
 
692
 
693
 
694
  demo.launch()
 
59
 
60
  from huggingface_hub import snapshot_download
61
 
62
+ article = r"""
63
+ If Cobra is helpful, please help to ⭐ the <a href='https://github.com/zhuang2002/Cobra' target='_blank'>Github Repo</a>. Thanks! [![GitHub Stars](https://img.shields.io/github/stars/zhuang2002/Cobra)](https://github.com/zhuang2002/Cobra)
64
+ ---
65
+ 📧 **Contact**
66
+ <br>
67
+ If you have any questions, please feel free to reach me out at <b>[email protected]</b>.
68
+ 📝 **Citation**
69
+ <br>
70
+ If our work is useful for your research, please consider citing:
71
+ ```bibtex
72
+ @misc{zhuang2025cobra,
73
+ title={Cobra: Efficient Line Art COlorization with BRoAder References},
74
+ author={Junhao Zhuang, Lingen Li, Xuan Ju, Zhaoyang Zhang, Chun Yuan and Ying Shan},
75
+ year={2025},
76
+ eprint={****.***},
77
+ archivePrefix={arXiv},
78
+ primaryClass={cs.CV},
79
+ url={https://arxiv.org},
80
+ }
81
+ ```
82
+ """
83
  model_global_path = snapshot_download(repo_id="JunhaoZhuang/Cobra", cache_dir='./Cobra/', repo_type="model")
84
  print(model_global_path)
85
  examples = [
 
710
  label="Examples",
711
  examples_per_page=8,
712
  )
713
+ gr.HTML('<a href="https://github.com/zhuang2002/Cobra"><img src="https://img.shields.io/github/stars/zhuang2002/Cobra" alt="GitHub Stars"></a>')
714
+ gr.Markdown(article)
715
 
716
 
717
  demo.launch()