Commit message: Added support for hardware accelerators in ffmpeg. #5

This commit is contained in:
Xavi Vinaixa
2023-06-06 11:27:53 +02:00
parent f5606ca4c4
commit bbc10893b4
3 changed files with 40 additions and 23 deletions

4
app.py
View File

@@ -37,8 +37,8 @@ with gr.Blocks() as demo:
with gr.Row():
gr.Markdown("# Refacer")
with gr.Row():
video=gr.Video(label="Original video")
video2=gr.Video(label="Refaced video",interactive=False)
video=gr.Video(label="Original video",format="mp4")
video2=gr.Video(label="Refaced video",interactive=False,format="mp4")
for i in range(0,num_faces):
with gr.Tab(f"Face #{i+1}"):