Fabrice-TIERCELIN commited on
Commit
ee1d7fc
·
verified ·
1 Parent(s): 9d1c796
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -1535,7 +1535,7 @@ def process_on_gpu(input_image, end_image, image_position, prompts, generation_m
1535
  ((str(hours) + " h, ") if hours != 0 else "") + \
1536
  ((str(minutes) + " min, ") if hours != 0 or minutes != 0 else "") + \
1537
  str(secondes) + " sec. " + \
1538
- "You can upscale the result with RIFE. To make all your generated scenes consistent, you can then apply a face swap on the main character. If you do not see the generated video above, the process may have failed. See the logs for more information. If you see an error like ''NVML_SUCCESS == r INTERNAL ASSERT FAILED'', you probably haven't enough VRAM. Test an example or other options to compare. You can share your inputs to the original space or set your space in public for a peer review.", gr.update(interactive=True), gr.update(interactive=False), gr.update(visible = False)
1539
  break
1540
 
1541
  def process(input_image,
@@ -1649,7 +1649,7 @@ def process_video_on_gpu(input_video, prompts, n_prompt, seed, batch, resolution
1649
  ((str(hours) + " h, ") if hours != 0 else "") + \
1650
  ((str(minutes) + " min, ") if hours != 0 or minutes != 0 else "") + \
1651
  str(secondes) + " sec. " + \
1652
- " You can upscale the result with RIFE. To make all your generated scenes consistent, you can then apply a face swap on the main character. If you do not see the generated video above, the process may have failed. See the logs for more information. If you see an error like ''NVML_SUCCESS == r INTERNAL ASSERT FAILED'', you probably haven't enough VRAM. Test an example or other options to compare. You can share your inputs to the original space or set your space in public for a peer review.", '', gr.update(interactive=True), gr.update(interactive=False), gr.update(visible = False)
1653
  break
1654
 
1655
  def process_video(input_video, prompt, n_prompt, randomize_seed, seed, auto_allocation, allocation_time, batch, resolution, total_second_length, latent_window_size, steps, cfg, gs, rs, gpu_memory_preservation, enable_preview, use_teacache, no_resize, mp4_crf, num_clean_frames, vae_batch):
@@ -1731,7 +1731,7 @@ def process_video_end_on_gpu(input_video, end_image, prompts, n_prompt, seed, ba
1731
  ((str(hours) + " h, ") if hours != 0 else "") + \
1732
  ((str(minutes) + " min, ") if hours != 0 or minutes != 0 else "") + \
1733
  str(secondes) + " sec. " + \
1734
- " You can upscale the result with RIFE. To make all your generated scenes consistent, you can then apply a face swap on the main character. If you do not see the generated video above, the process may have failed. See the logs for more information. If you see an error like ''NVML_SUCCESS == r INTERNAL ASSERT FAILED'', you probably haven't enough VRAM. Test an example or other options to compare. You can share your inputs to the original space or set your space in public for a peer review.", '', gr.update(interactive=True), gr.update(interactive=False), gr.update(visible = False)
1735
  break
1736
 
1737
  def process_video_end(input_video, end_image, prompt, n_prompt, randomize_seed, seed, auto_allocation, allocation_time, batch, resolution, total_second_length, latent_window_size, steps, cfg, gs, rs, gpu_memory_preservation, enable_preview, use_teacache, no_resize, mp4_crf, num_clean_frames, vae_batch):
 
1535
  ((str(hours) + " h, ") if hours != 0 else "") + \
1536
  ((str(minutes) + " min, ") if hours != 0 or minutes != 0 else "") + \
1537
  str(secondes) + " sec. " + \
1538
+ "You can upscale the result with https://huggingface.co/spaces/Nick088/Real-ESRGAN_Pytorch. To make all your generated scenes consistent, you can then apply a face swap on the main character. If you do not see the generated video above, the process may have failed. See the logs for more information. If you see an error like ''NVML_SUCCESS == r INTERNAL ASSERT FAILED'', you probably haven't enough VRAM. Test an example or other options to compare. You can share your inputs to the original space or set your space in public for a peer review.", gr.update(interactive=True), gr.update(interactive=False), gr.update(visible = False)
1539
  break
1540
 
1541
  def process(input_image,
 
1649
  ((str(hours) + " h, ") if hours != 0 else "") + \
1650
  ((str(minutes) + " min, ") if hours != 0 or minutes != 0 else "") + \
1651
  str(secondes) + " sec. " + \
1652
+ " You can upscale the result with https://huggingface.co/spaces/Nick088/Real-ESRGAN_Pytorch. To make all your generated scenes consistent, you can then apply a face swap on the main character. If you do not see the generated video above, the process may have failed. See the logs for more information. If you see an error like ''NVML_SUCCESS == r INTERNAL ASSERT FAILED'', you probably haven't enough VRAM. Test an example or other options to compare. You can share your inputs to the original space or set your space in public for a peer review.", '', gr.update(interactive=True), gr.update(interactive=False), gr.update(visible = False)
1653
  break
1654
 
1655
  def process_video(input_video, prompt, n_prompt, randomize_seed, seed, auto_allocation, allocation_time, batch, resolution, total_second_length, latent_window_size, steps, cfg, gs, rs, gpu_memory_preservation, enable_preview, use_teacache, no_resize, mp4_crf, num_clean_frames, vae_batch):
 
1731
  ((str(hours) + " h, ") if hours != 0 else "") + \
1732
  ((str(minutes) + " min, ") if hours != 0 or minutes != 0 else "") + \
1733
  str(secondes) + " sec. " + \
1734
+ " You can upscale the result with https://huggingface.co/spaces/Nick088/Real-ESRGAN_Pytorch. To make all your generated scenes consistent, you can then apply a face swap on the main character. If you do not see the generated video above, the process may have failed. See the logs for more information. If you see an error like ''NVML_SUCCESS == r INTERNAL ASSERT FAILED'', you probably haven't enough VRAM. Test an example or other options to compare. You can share your inputs to the original space or set your space in public for a peer review.", '', gr.update(interactive=True), gr.update(interactive=False), gr.update(visible = False)
1735
  break
1736
 
1737
  def process_video_end(input_video, end_image, prompt, n_prompt, randomize_seed, seed, auto_allocation, allocation_time, batch, resolution, total_second_length, latent_window_size, steps, cfg, gs, rs, gpu_memory_preservation, enable_preview, use_teacache, no_resize, mp4_crf, num_clean_frames, vae_batch):