Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -219,7 +219,7 @@ with gr.Blocks() as demo:
|
|
| 219 |
<div style="text-align: center;">
|
| 220 |
<a href="https://huggingface.co/wileewang/TransPixar">π€ TransPixar LoRA Hub</a> |
|
| 221 |
<a href="https://github.com/wileewang/TransPixar">π Github</a> |
|
| 222 |
-
<a href="https://arxiv.org/
|
| 223 |
</div>
|
| 224 |
<div style="text-align: center; font-size: 15px; font-weight: bold; color: red; margin-bottom: 20px;">
|
| 225 |
β οΈ This demo is for academic research and experiential use only.
|
|
@@ -241,7 +241,7 @@ with gr.Blocks() as demo:
|
|
| 241 |
with gr.Row():
|
| 242 |
gr.Markdown(
|
| 243 |
"""
|
| 244 |
-
**Note:** The RGB is a premultiplied version to avoid the color decontamination problem.
|
| 245 |
It can directly composite with a background using:
|
| 246 |
```
|
| 247 |
composite = rgb + (1 - alpha) * background
|
|
@@ -250,8 +250,8 @@ with gr.Blocks() as demo:
|
|
| 250 |
)
|
| 251 |
|
| 252 |
with gr.Column():
|
| 253 |
-
rgb_video_output = gr.Video(label="
|
| 254 |
-
alpha_video_output = gr.Video(label="
|
| 255 |
with gr.Row():
|
| 256 |
download_rgb_video_button = gr.File(label="π₯ Download RGB Video", visible=False)
|
| 257 |
download_alpha_video_button = gr.File(label="π₯ Download Alpha Video", visible=False)
|
|
|
|
| 219 |
<div style="text-align: center;">
|
| 220 |
<a href="https://huggingface.co/wileewang/TransPixar">π€ TransPixar LoRA Hub</a> |
|
| 221 |
<a href="https://github.com/wileewang/TransPixar">π Github</a> |
|
| 222 |
+
<a href="https://arxiv.org/">π arxiv </a>
|
| 223 |
</div>
|
| 224 |
<div style="text-align: center; font-size: 15px; font-weight: bold; color: red; margin-bottom: 20px;">
|
| 225 |
β οΈ This demo is for academic research and experiential use only.
|
|
|
|
| 241 |
with gr.Row():
|
| 242 |
gr.Markdown(
|
| 243 |
"""
|
| 244 |
+
**Note:** The output RGB is a premultiplied version to avoid the color decontamination problem.
|
| 245 |
It can directly composite with a background using:
|
| 246 |
```
|
| 247 |
composite = rgb + (1 - alpha) * background
|
|
|
|
| 250 |
)
|
| 251 |
|
| 252 |
with gr.Column():
|
| 253 |
+
rgb_video_output = gr.Video(label="Generated RGB Video", width=720, height=480)
|
| 254 |
+
alpha_video_output = gr.Video(label="Generated Alpha Video", width=720, height=480)
|
| 255 |
with gr.Row():
|
| 256 |
download_rgb_video_button = gr.File(label="π₯ Download RGB Video", visible=False)
|
| 257 |
download_alpha_video_button = gr.File(label="π₯ Download Alpha Video", visible=False)
|