Update app.py
Browse files
app.py
CHANGED
@@ -57,7 +57,7 @@ def process_video(video_path, caption="Your Caption"):
|
|
57 |
)
|
58 |
except Exception as e:
|
59 |
print("Font fallback used due to error:", e)
|
60 |
-
text_clip = TextClip(caption,
|
61 |
|
62 |
|
63 |
text_clip = text_clip.set_position(("center", "bottom")).set_duration(clip.duration)
|
|
|
57 |
)
|
58 |
except Exception as e:
|
59 |
print("Font fallback used due to error:", e)
|
60 |
+
text_clip = TextClip(caption, color ="black")
|
61 |
|
62 |
|
63 |
text_clip = text_clip.set_position(("center", "bottom")).set_duration(clip.duration)
|