Spaces:
Potre1qw
/
Running on Zero

Freak-ppa commited on
Commit
501a105
1 Parent(s): 48bb9b0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -1,3 +1,4 @@
 
1
  import gradio as gr
2
  import numpy as np
3
  import random
@@ -15,7 +16,7 @@ from PIL import Image
15
 
16
  from segment_anything import sam_model_registry, SamPredictor
17
 
18
- import spaces
19
 
20
  print(f"Is CUDA available: {torch.cuda.is_available()}")
21
  print(f"CUDA device: {torch.cuda.get_device_name(torch.cuda.current_device())}")
 
1
+ import spaces
2
  import gradio as gr
3
  import numpy as np
4
  import random
 
16
 
17
  from segment_anything import sam_model_registry, SamPredictor
18
 
19
+
20
 
21
  print(f"Is CUDA available: {torch.cuda.is_available()}")
22
  print(f"CUDA device: {torch.cuda.get_device_name(torch.cuda.current_device())}")