eyal.benaroche commited on
Commit
561be1b
Β·
1 Parent(s): 32d20d2

add decorator on spaces

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -41,6 +41,7 @@ MAX_SEED = np.iinfo(np.int32).max
41
  MAX_IMAGE_SIZE = 1024
42
 
43
 
 
44
  def check_and_load_lora_user(user_lora_selector, user_lora_weight, gr_lora_loaded):
45
  flash_sdxl_id = "jasperai/flash-sdxl"
46
 
 
41
  MAX_IMAGE_SIZE = 1024
42
 
43
 
44
+ @spaces.GPU
45
  def check_and_load_lora_user(user_lora_selector, user_lora_weight, gr_lora_loaded):
46
  flash_sdxl_id = "jasperai/flash-sdxl"
47