Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
fffiloni
/
SAM2-Image-Predictor
like
43
Sleeping
App
Files
Files
Community
fffiloni
commited on
Aug 1
Commit
f6c93f1
•
1 Parent(s):
4d3675e
Update app.py
Browse files
Files changed (1)
hide
show
app.py
+1
-0
app.py
CHANGED
Viewed
@@ -1,4 +1,5 @@
1
import gradio as gr
2
import os
3
os.environ["TORCH_CUDNN_SDPA_ENABLED"] = "1"
4
import torch
1
import gradio as gr
2
+
import spaces
3
import os
4
os.environ["TORCH_CUDNN_SDPA_ENABLED"] = "1"
5
import torch