prithivMLmods commited on
Commit
2e212a7
·
verified ·
1 Parent(s): 4e4f630

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -3
app.py CHANGED
@@ -15,8 +15,6 @@ import gradio as gr
15
  import os
16
  import spaces
17
 
18
-
19
- @spaces.GPU(enable_queue=True)
20
  def swap_face(source_file, target_file):
21
  source_image = Image.fromarray(source_file)
22
  source_path = "input.jpg"
@@ -58,4 +56,4 @@ app = gr.Interface(
58
  fn=swap_face, inputs=[gr.Image(), gr.Video()], outputs=[gr.Video()], description="Deep Fake",theme="bethecloud/storj_theme"
59
  )
60
 
61
- app.launch(max_size=40)
 
15
  import os
16
  import spaces
17
 
 
 
18
  def swap_face(source_file, target_file):
19
  source_image = Image.fromarray(source_file)
20
  source_path = "input.jpg"
 
56
  fn=swap_face, inputs=[gr.Image(), gr.Video()], outputs=[gr.Video()], description="Deep Fake",theme="bethecloud/storj_theme"
57
  )
58
 
59
+ app.launch()