Spaces:
Runtime error
Runtime error
Commit
·
556db34
1
Parent(s):
dc1b073
update comments
Browse files- app_fatezero.py +5 -2
app_fatezero.py
CHANGED
|
@@ -100,10 +100,12 @@ with gr.Blocks(css='style.css') as demo:
|
|
| 100 |
|
| 101 |
|
| 102 |
gr.HTML("""
|
| 103 |
-
<p>
|
|
|
|
| 104 |
<br/>
|
| 105 |
<a href="https://huggingface.co/spaces/chenyangqi/FateZero?duplicate=true">
|
| 106 |
<img style="margin-top: 0em; margin-bottom: 0em" src="https://bit.ly/3gLdBN6" alt="Duplicate Space"></a>
|
|
|
|
| 107 |
</p>""")
|
| 108 |
|
| 109 |
with gr.Row():
|
|
@@ -153,10 +155,11 @@ with gr.Blocks(css='style.css') as demo:
|
|
| 153 |
|
| 154 |
|
| 155 |
data_path = gr.Dropdown(
|
| 156 |
-
label='provided data
|
| 157 |
choices=[
|
| 158 |
'FateZero/data/teaser_car-turn',
|
| 159 |
'FateZero/data/style/sunflower',
|
|
|
|
| 160 |
# add shape editing ckpt here
|
| 161 |
],
|
| 162 |
value='FateZero/data/teaser_car-turn')
|
|
|
|
| 100 |
|
| 101 |
|
| 102 |
gr.HTML("""
|
| 103 |
+
<p>Note that due to limite of memory and computing resource on hugging face, the results here are only toy examples and takes longer time to edit.
|
| 104 |
+
<p>For better performance and faster inference without waiting in queue, you may duplicate the space and upgrade to GPU in settings.
|
| 105 |
<br/>
|
| 106 |
<a href="https://huggingface.co/spaces/chenyangqi/FateZero?duplicate=true">
|
| 107 |
<img style="margin-top: 0em; margin-bottom: 0em" src="https://bit.ly/3gLdBN6" alt="Duplicate Space"></a>
|
| 108 |
+
<p>Or try our github <a href=https://github.com/ChenyangQiQi/FateZero> code </a> on your own GPU.
|
| 109 |
</p>""")
|
| 110 |
|
| 111 |
with gr.Row():
|
|
|
|
| 155 |
|
| 156 |
|
| 157 |
data_path = gr.Dropdown(
|
| 158 |
+
label='Or use provided data in our paper',
|
| 159 |
choices=[
|
| 160 |
'FateZero/data/teaser_car-turn',
|
| 161 |
'FateZero/data/style/sunflower',
|
| 162 |
+
'FateZero/data/attribute/swan_swarov',
|
| 163 |
# add shape editing ckpt here
|
| 164 |
],
|
| 165 |
value='FateZero/data/teaser_car-turn')
|