merve HF Staff commited on
Commit
cf31499
·
verified ·
1 Parent(s): 148336f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -5,8 +5,9 @@ from transformers.image_utils import to_numpy_array
5
  import torch
6
  import plotly.graph_objects as go
7
  from PIL import Image
 
8
 
9
-
10
  def process_images(image1, image2):
11
  """
12
  Process two images and return a plot of the matching keypoints.
 
5
  import torch
6
  import plotly.graph_objects as go
7
  from PIL import Image
8
+ import spaces
9
 
10
+ @spaces.GPU
11
  def process_images(image1, image2):
12
  """
13
  Process two images and return a plot of the matching keypoints.