Spaces:
Paused
Paused
Update src/app.py
Browse files- src/app.py +2 -2
src/app.py
CHANGED
@@ -6,7 +6,7 @@ from typing import Any, cast
|
|
6 |
import gradio as gr
|
7 |
import numpy as np
|
8 |
import pillow_heif
|
9 |
-
import spaces
|
10 |
import torch
|
11 |
from gradio_image_annotation import image_annotator
|
12 |
from gradio_imageslider import ImageSlider
|
@@ -94,7 +94,7 @@ def apply_mask(
|
|
94 |
return result
|
95 |
|
96 |
|
97 |
-
@spaces.GPU
|
98 |
def _gpu_process(
|
99 |
img: Image.Image,
|
100 |
prompt: str | BoundingBox | None,
|
|
|
6 |
import gradio as gr
|
7 |
import numpy as np
|
8 |
import pillow_heif
|
9 |
+
# import spaces
|
10 |
import torch
|
11 |
from gradio_image_annotation import image_annotator
|
12 |
from gradio_imageslider import ImageSlider
|
|
|
94 |
return result
|
95 |
|
96 |
|
97 |
+
# @spaces.GPU
|
98 |
def _gpu_process(
|
99 |
img: Image.Image,
|
100 |
prompt: str | BoundingBox | None,
|