digidau commited on
Commit
f97cb86
·
verified ·
1 Parent(s): c345a87

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +18 -0
app.py CHANGED
@@ -85,6 +85,16 @@ def get_available_fonts():
85
  # Main Process
86
  # --------------------------------------------------
87
 
 
 
 
 
 
 
 
 
 
 
88
  def process(
89
  images,
90
  background_video,
@@ -327,6 +337,14 @@ Generate cinematic Quran video automatically.
327
  label="Translation Font Size"
328
  )
329
 
 
 
 
 
 
 
 
 
330
  generate_btn = gr.Button(
331
  "Generate Video",
332
  variant="primary"
 
85
  # Main Process
86
  # --------------------------------------------------
87
 
88
+ def preview_layout(
89
+ image,
90
+ arabic_font,
91
+ arabic_y,
92
+ translation_gap,
93
+ arabic_font_size,
94
+ translation_font_size
95
+ ):
96
+
97
+
98
  def process(
99
  images,
100
  background_video,
 
337
  label="Translation Font Size"
338
  )
339
 
340
+ preview_btn = gr.Button(
341
+ "Preview Layout"
342
+ )
343
+
344
+ preview_image = gr.Image(
345
+ label="Preview"
346
+ )
347
+
348
  generate_btn = gr.Button(
349
  "Generate Video",
350
  variant="primary"