liuhuadai commited on
Commit
ff51342
·
verified ·
1 Parent(s): 4140eb4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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 = []