weihongliang commited on
Commit
1225555
·
verified ·
1 Parent(s): 75f090c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -10,7 +10,10 @@ import os
10
  from PIL import Image, ImageDraw, ImageFont
11
  import numpy as np
12
  import hashlib
 
13
 
 
 
14
 
15
  #First output the thinking process in <think> </think> tags and then output the final answer in <answer> </answer> tags.
16
  #Answer the following question based on the information above and the given image, and provide citations for your response.
 
10
  from PIL import Image, ImageDraw, ImageFont
11
  import numpy as np
12
  import hashlib
13
+ import spaces # Make sure to import spaces
14
 
15
+ # This is the function that will run on the GPU
16
+ @spaces.GPU
17
 
18
  #First output the thinking process in <think> </think> tags and then output the final answer in <answer> </answer> tags.
19
  #Answer the following question based on the information above and the given image, and provide citations for your response.