Masaaki Kawata commited on
Commit
18791af
Β·
1 Parent(s): 34422ec

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -1,5 +1,5 @@
1
  import numpy as np
2
- import spaces
3
  import gradio as gr
4
  from gradio.themes.base import Base
5
  from gradio.themes.utils import colors, fonts, sizes
@@ -46,7 +46,7 @@ class Theme(Base):
46
  )
47
 
48
 
49
- @spaces.GPU(duration=30)
50
  def generate(image: np.ndarray, n: int):
51
  return generate_parallax_images(Image.fromarray(image, 'RGBA'), n)
52
 
 
1
  import numpy as np
2
+ #import spaces
3
  import gradio as gr
4
  from gradio.themes.base import Base
5
  from gradio.themes.utils import colors, fonts, sizes
 
46
  )
47
 
48
 
49
+ #@spaces.GPU(duration=30)
50
  def generate(image: np.ndarray, n: int):
51
  return generate_parallax_images(Image.fromarray(image, 'RGBA'), n)
52