Update app.py
Browse files
app.py
CHANGED
|
@@ -86,6 +86,7 @@ def get_available_fonts():
|
|
| 86 |
|
| 87 |
def process(
|
| 88 |
images,
|
|
|
|
| 89 |
audio,
|
| 90 |
timing_json,
|
| 91 |
arabic_font,
|
|
@@ -249,6 +250,10 @@ Generate cinematic Quran video automatically.
|
|
| 249 |
file_count="multiple"
|
| 250 |
)
|
| 251 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 252 |
audio = gr.Audio(
|
| 253 |
type="filepath",
|
| 254 |
label="Upload Audio MP3"
|
|
@@ -277,6 +282,7 @@ Generate cinematic Quran video automatically.
|
|
| 277 |
fn=process,
|
| 278 |
inputs=[
|
| 279 |
images,
|
|
|
|
| 280 |
audio,
|
| 281 |
timing_json,
|
| 282 |
arabic_font,
|
|
|
|
| 86 |
|
| 87 |
def process(
|
| 88 |
images,
|
| 89 |
+
background_video,
|
| 90 |
audio,
|
| 91 |
timing_json,
|
| 92 |
arabic_font,
|
|
|
|
| 250 |
file_count="multiple"
|
| 251 |
)
|
| 252 |
|
| 253 |
+
background_video = gr.Video(
|
| 254 |
+
label="Background Video (Optional)"
|
| 255 |
+
)
|
| 256 |
+
|
| 257 |
audio = gr.Audio(
|
| 258 |
type="filepath",
|
| 259 |
label="Upload Audio MP3"
|
|
|
|
| 282 |
fn=process,
|
| 283 |
inputs=[
|
| 284 |
images,
|
| 285 |
+
background_video,
|
| 286 |
audio,
|
| 287 |
timing_json,
|
| 288 |
arabic_font,
|