Spaces:
Shad0ws
/
Runtime error

yanze commited on
Commit
4eca20b
1 Parent(s): bb7359c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -1,3 +1,4 @@
 
1
  import gradio as gr
2
  import numpy as np
3
  import torch
@@ -19,6 +20,7 @@ DEFAULT_NEGATIVE_PROMPT = (
19
  )
20
 
21
 
 
22
  def run(*args):
23
  id_image = args[0]
24
  supp_images = args[1:4]
 
1
+ import spaces
2
  import gradio as gr
3
  import numpy as np
4
  import torch
 
20
  )
21
 
22
 
23
+ @spaces.GPU
24
  def run(*args):
25
  id_image = args[0]
26
  supp_images = args[1:4]