ttoosi commited on
Commit
38cf48f
·
verified ·
1 Parent(s): 7c62d8e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -19,7 +19,8 @@ else:
19
 
20
 
21
  try:
22
- from spaces import GPU
 
23
  except ImportError:
24
  # Define a no-op decorator if running locally
25
  def GPU(func):
 
19
 
20
 
21
  try:
22
+ import spaces
23
+ GPU = spaces.GPU
24
  except ImportError:
25
  # Define a no-op decorator if running locally
26
  def GPU(func):