Spaces:
Running on Zero
Running on Zero
Update app.py
Browse files14 unmodified lines151617181918192035 unmodified lines565758615914 unmodified linesimport osimport spaces
@spaces.GPU(enable_queue=True)def swap_face(source_file, target_file): source_image = Image.fromarray(source_file) source_path = "input.jpg"35 unmodified lines fn=swap_face, inputs=[gr.Image(), gr.Video()], outputs=[gr.Video()], description="Deep Fake",theme="bethecloud/storj_theme")
app.launch(max_size=40)app.launch()app.py+1-3