Update app.py
Browse files
app.py
CHANGED
@@ -57,8 +57,6 @@ def cmdb_si(a, b, c, d):
|
|
57 |
else:
|
58 |
tuning = ""
|
59 |
# print(tuning)
|
60 |
-
tempf_path = a
|
61 |
-
print(tempf_path)
|
62 |
return f"-filter:v \"minterpolate='mi_mode=mci:mc_mode=aobmc:me_mode=bidir:vsbmc=1:fps={a}'\" -r {a} -preset {b} {tuning}"
|
63 |
|
64 |
# Command Builder: Frame Blending
|
@@ -70,8 +68,6 @@ def cmdb_fb(a, b, c, d):
|
|
70 |
else:
|
71 |
tuning = ""
|
72 |
# print(tuning)
|
73 |
-
tempf_path = a
|
74 |
-
print(tempf_path)
|
75 |
return f"-filter:v \"tblend\" -r {a} -preset {b} {tuning}"
|
76 |
|
77 |
# Command Builder: Advanced
|
@@ -82,8 +78,6 @@ def cmdb_adv(a, b, c):
|
|
82 |
tuning = f"-tune {b.split(' –')[0]}"
|
83 |
else:
|
84 |
tuning = ""
|
85 |
-
tempf_path = a
|
86 |
-
print(tempf_path)
|
87 |
#gr.Textbox.update(value=f"-preset {a} -tune {b}")
|
88 |
return f"-preset {a} {tuning}"
|
89 |
|
|
|
57 |
else:
|
58 |
tuning = ""
|
59 |
# print(tuning)
|
|
|
|
|
60 |
return f"-filter:v \"minterpolate='mi_mode=mci:mc_mode=aobmc:me_mode=bidir:vsbmc=1:fps={a}'\" -r {a} -preset {b} {tuning}"
|
61 |
|
62 |
# Command Builder: Frame Blending
|
|
|
68 |
else:
|
69 |
tuning = ""
|
70 |
# print(tuning)
|
|
|
|
|
71 |
return f"-filter:v \"tblend\" -r {a} -preset {b} {tuning}"
|
72 |
|
73 |
# Command Builder: Advanced
|
|
|
78 |
tuning = f"-tune {b.split(' –')[0]}"
|
79 |
else:
|
80 |
tuning = ""
|
|
|
|
|
81 |
#gr.Textbox.update(value=f"-preset {a} -tune {b}")
|
82 |
return f"-preset {a} {tuning}"
|
83 |
|