pcdoido2 commited on
Commit
0dd8991
·
verified ·
1 Parent(s): 420ac8e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -379,10 +379,10 @@ if st.button("Gerar Vídeo(s)"):
379
  vf_af += f",drawtext=text='{encoder_name}':[email protected]:x=10:y=10:fontsize=24"
380
  if usar_glitch:
381
  vf_af += ",blackframe=1:0"
382
- if res_random:
383
- w = random.choice([720, 960, 1080])
384
- h = random.choice([1280, 1440, 1920])
385
- vf_af += f",scale={w}:{h}"
386
  if transicoes:
387
  effects = [
388
  "fade=t=in:st=0:d=0.5",
 
379
  vf_af += f",drawtext=text='{encoder_name}':[email protected]:x=10:y=10:fontsize=24"
380
  if usar_glitch:
381
  vf_af += ",blackframe=1:0"
382
+ # if res_random:
383
+ # w = random.choice([720, 960, 1080])
384
+ # h = random.choice([1280, 1440, 1920])
385
+ # vf_af += f",scale={w}:{h}"
386
  if transicoes:
387
  effects = [
388
  "fade=t=in:st=0:d=0.5",