Spaces:
Running
on
Zero
Running
on
Zero
Update hf_gradio_app.py
Browse files- hf_gradio_app.py +2 -0
hf_gradio_app.py
CHANGED
@@ -118,6 +118,8 @@ def generate(input_video, input_audio, seed, progress=gr.Progress(track_tqdm=Tru
|
|
118 |
Returns:
|
119 |
str: File path to the generated output video (MP4 format).
|
120 |
"""
|
|
|
|
|
121 |
|
122 |
pipeline.reference_net.enable_xformers_memory_efficient_attention()
|
123 |
pipeline.diffusion_net.enable_xformers_memory_efficient_attention()
|
|
|
118 |
Returns:
|
119 |
str: File path to the generated output video (MP4 format).
|
120 |
"""
|
121 |
+
|
122 |
+
gr.Info("240 seconds will be allocated from your daily ZeroGPU time credits.")
|
123 |
|
124 |
pipeline.reference_net.enable_xformers_memory_efficient_attention()
|
125 |
pipeline.diffusion_net.enable_xformers_memory_efficient_attention()
|