prithivMLmods commited on
Commit
cc00461
·
verified ·
1 Parent(s): 6b82102

update app

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -3,6 +3,7 @@ import os
3
  import shutil
4
  import time
5
  import uuid
 
6
  import unicodedata
7
  from io import BytesIO
8
  from threading import Timer
@@ -219,7 +220,7 @@ In browser, ignore any sign-in popups while they don't interfere with the elemen
219
  </general_guidelines>
220
  """.replace("<<current_date>>", datetime.now().strftime("%A, %d-%B-%Y"))
221
 
222
-
223
  def draw_marker_on_image(image_copy, click_coordinates):
224
  x, y = click_coordinates
225
  draw = ImageDraw.Draw(image_copy)
 
3
  import shutil
4
  import time
5
  import uuid
6
+ import spaces #[zeroGPU Spaces]
7
  import unicodedata
8
  from io import BytesIO
9
  from threading import Timer
 
220
  </general_guidelines>
221
  """.replace("<<current_date>>", datetime.now().strftime("%A, %d-%B-%Y"))
222
 
223
+ @spaces.GPU
224
  def draw_marker_on_image(image_copy, click_coordinates):
225
  x, y = click_coordinates
226
  draw = ImageDraw.Draw(image_copy)