Spaces:
Running
on
Zero
Running
on
Zero
Update webgui.py
Browse files
webgui.py
CHANGED
@@ -303,6 +303,9 @@ def generate_video(uploaded_img, uploaded_audio, width, height, length, seed, fa
|
|
303 |
- The function trims audio to 5 seconds in shared UI mode to reduce compute time.
|
304 |
- This function is designed to work on a GPU-enabled environment for optimal performance.
|
305 |
"""
|
|
|
|
|
|
|
306 |
if is_shared_ui:
|
307 |
gr.Info("Trimming audio to max 5 seconds. Duplicate the space for unlimited audio length.")
|
308 |
uploaded_audio = trim_audio(uploaded_audio, "trimmed_audio.wav")
|
|
|
303 |
- The function trims audio to 5 seconds in shared UI mode to reduce compute time.
|
304 |
- This function is designed to work on a GPU-enabled environment for optimal performance.
|
305 |
"""
|
306 |
+
|
307 |
+
gr.Info("200 seconds will be allocated from your daily ZeroGPU credits.")
|
308 |
+
|
309 |
if is_shared_ui:
|
310 |
gr.Info("Trimming audio to max 5 seconds. Duplicate the space for unlimited audio length.")
|
311 |
uploaded_audio = trim_audio(uploaded_audio, "trimmed_audio.wav")
|