Compatibility with Google Colab
This commit is contained in:
2
app.py
2
app.py
@@ -33,7 +33,7 @@ with gr.Blocks() as demo:
|
|||||||
gr.Markdown("# Refacer")
|
gr.Markdown("# Refacer")
|
||||||
with gr.Row():
|
with gr.Row():
|
||||||
video=gr.Video(label="Original video")
|
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):
|
for i in range(0,MAX_NUM_OF_FACES):
|
||||||
with gr.Tab(f"Face #{i+1}"):
|
with gr.Tab(f"Face #{i+1}"):
|
||||||
|
|||||||
Reference in New Issue
Block a user