wileewang commited on
Commit
e75d879
Β·
verified Β·
1 Parent(s): 062a98f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
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/pdf/2408.06072">πŸ“œ 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,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="Generate RGB Video", width=720, height=480)
254
- alpha_video_output = gr.Video(label="Generate 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)
 
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)