AlexHung29629 commited on
Commit
98be180
·
verified ·
1 Parent(s): 2012122

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -1
app.py CHANGED
@@ -5,7 +5,6 @@ from PIL import Image
5
 
6
  # Load model and processor
7
  pipe = pipeline("image-to-text", model="google/pix2struct-screen2words-large")
8
- pipe.to('cuda')
9
  # Define the function
10
  @spaces.GPU
11
  def describe_ui(image):
 
5
 
6
  # Load model and processor
7
  pipe = pipeline("image-to-text", model="google/pix2struct-screen2words-large")
 
8
  # Define the function
9
  @spaces.GPU
10
  def describe_ui(image):