ighoshsubho commited on
Commit
566b641
·
verified ·
1 Parent(s): b9eb25a

Bug fix spaces

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -6,6 +6,7 @@ from utils.florence import load_florence_model, run_florence_inference, FLORENCE
6
  from utils.sam import load_sam_image_model, run_sam_inference
7
  import gradio as gr
8
  import supervision as sv
 
9
 
10
  # Load models
11
  DEVICE = torch.device("cuda" if torch.cuda.is_available() else "cpu")
 
6
  from utils.sam import load_sam_image_model, run_sam_inference
7
  import gradio as gr
8
  import supervision as sv
9
+ import spaces
10
 
11
  # Load models
12
  DEVICE = torch.device("cuda" if torch.cuda.is_available() else "cpu")