Update app.py
Browse files
app.py
CHANGED
@@ -33,7 +33,7 @@ def convert(file: _TemporaryFileWrapper, options: str):
|
|
33 |
|
34 |
except Exception as e:
|
35 |
stdout += f"{e}"
|
36 |
-
gr.Error(stdout)
|
37 |
return [stdout, output_file]
|
38 |
|
39 |
# Check Video Codec
|
@@ -91,7 +91,7 @@ with gr.Blocks(title="FFmo - FFmpeg Online", theme=gr.themes.Soft()) as main:
|
|
91 |
"- Advanced – For Professional/Developer Only. It only Include **Tuning** section only.\n\n"
|
92 |
"### NOTE: \"Tuning\" option is not supported if the input video codec is other than \"H.264\"\n"
|
93 |
)
|
94 |
-
gr.Warning("Jangan Lupa Untuk Memilih Preset & Tune ya!")
|
95 |
with gr.Tabs():
|
96 |
with gr.TabItem("Smooth Interpolation"):
|
97 |
with gr.Row():
|
|
|
33 |
|
34 |
except Exception as e:
|
35 |
stdout += f"{e}"
|
36 |
+
gr.exceptions.Error(stdout)
|
37 |
return [stdout, output_file]
|
38 |
|
39 |
# Check Video Codec
|
|
|
91 |
"- Advanced – For Professional/Developer Only. It only Include **Tuning** section only.\n\n"
|
92 |
"### NOTE: \"Tuning\" option is not supported if the input video codec is other than \"H.264\"\n"
|
93 |
)
|
94 |
+
gr.exceptions.Warning("Jangan Lupa Untuk Memilih Preset & Tune ya!")
|
95 |
with gr.Tabs():
|
96 |
with gr.TabItem("Smooth Interpolation"):
|
97 |
with gr.Row():
|