Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -177,15 +177,14 @@ def main():
|
|
177 |
ftp_path = gr.inputs.Textbox(label="FTP Path")
|
178 |
upload = gr.inputs.Checkbox(label="Upload to FTP server", default=False)
|
179 |
|
180 |
-
gr.Interface(
|
181 |
-
|
182 |
-
|
183 |
-
|
184 |
-
|
185 |
-
|
186 |
-
|
187 |
-
).launch()
|
188 |
-
|
189 |
|
190 |
if __name__ == "__main__":
|
191 |
main()
|
|
|
177 |
ftp_path = gr.inputs.Textbox(label="FTP Path")
|
178 |
upload = gr.inputs.Checkbox(label="Upload to FTP server", default=False)
|
179 |
|
180 |
+
gr.Interface(
|
181 |
+
convert_video,
|
182 |
+
inputs=[video_file, quality, aspect_ratio, video_url, ftp_server, ftp_port, ftp_username, ftp_password, ftp_path, upload],
|
183 |
+
outputs=gr.outputs.Textbox(),
|
184 |
+
output_processor=process_output,
|
185 |
+
allow_flagging=False,
|
186 |
+
live=False,
|
187 |
+
).launch()
|
|
|
188 |
|
189 |
if __name__ == "__main__":
|
190 |
main()
|