Spaces:
Running on Zero
Running on Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -381,7 +381,7 @@ def generate_audio_core(video_file, caption):
|
|
| 381 |
return "❌ Please upload a video file first.", None
|
| 382 |
|
| 383 |
if not caption or caption.strip() == "":
|
| 384 |
-
caption=""
|
| 385 |
|
| 386 |
caption = caption.strip()
|
| 387 |
logs = []
|
|
|
|
| 381 |
return "❌ Please upload a video file first.", None
|
| 382 |
|
| 383 |
if not caption or caption.strip() == "":
|
| 384 |
+
caption=" "
|
| 385 |
|
| 386 |
caption = caption.strip()
|
| 387 |
logs = []
|