Compatibility with Google Colab

This commit is contained in:
Xavi Vinaixa
2023-06-05 08:34:38 +02:00
parent 51a170a7eb
commit f0a73b4914

2
app.py
View File

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