Spaces:
Sleeping
Sleeping
nn
commited on
Upload app.py
Browse files
app.py
CHANGED
|
@@ -7,6 +7,14 @@ import gradio as gr
|
|
| 7 |
from PIL import Image
|
| 8 |
import tempfile
|
| 9 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 10 |
# Utility functions
|
| 11 |
def extract_class_0_coordinates(filename):
|
| 12 |
class_0_coordinates = []
|
|
|
|
| 7 |
from PIL import Image
|
| 8 |
import tempfile
|
| 9 |
|
| 10 |
+
import spaces
|
| 11 |
+
|
| 12 |
+
|
| 13 |
+
@spaces.GPU
|
| 14 |
+
def dummy():
|
| 15 |
+
pass
|
| 16 |
+
|
| 17 |
+
|
| 18 |
# Utility functions
|
| 19 |
def extract_class_0_coordinates(filename):
|
| 20 |
class_0_coordinates = []
|