Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -65,6 +65,18 @@ from util import util
|
|
| 65 |
|
| 66 |
from huggingface_hub import snapshot_download
|
| 67 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 68 |
model_global_path = snapshot_download(repo_id="TencentARC/ColorFlow", cache_dir='./colorflow/', repo_type="model")
|
| 69 |
print(model_global_path)
|
| 70 |
|
|
@@ -511,4 +523,6 @@ with gr.Blocks() as demo:
|
|
| 511 |
label="Examples",
|
| 512 |
examples_per_page=6,
|
| 513 |
)
|
|
|
|
|
|
|
| 514 |
demo.launch()
|
|
|
|
| 65 |
|
| 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!
|
| 71 |
+
[](https://github.com/TencentARC/ColorFlow)
|
| 73 |
+
---
|
| 74 |
+
|
| 75 |
+
📧 **Contact**
|
| 76 |
+
<br>
|
| 77 |
+
If you have any questions, please feel free to reach me out at <b>zhuangjh23@mails.tsinghua.edu.cn</b>.
|
| 78 |
+
"""
|
| 79 |
+
|
| 80 |
model_global_path = snapshot_download(repo_id="TencentARC/ColorFlow", cache_dir='./colorflow/', repo_type="model")
|
| 81 |
print(model_global_path)
|
| 82 |
|
|
|
|
| 523 |
label="Examples",
|
| 524 |
examples_per_page=6,
|
| 525 |
)
|
| 526 |
+
|
| 527 |
+
gr.Markdown(article)
|
| 528 |
demo.launch()
|