Spaces:
Runtime error
Runtime error
baixintech_zhangyiming_prod
commited on
Commit
•
ad6f6d7
1
Parent(s):
7dd7207
replace cuda with cpu
Browse files
app.py
CHANGED
@@ -9,7 +9,7 @@ model, transforms = get_watermarks_detection_model(
|
|
9 |
fp16=False,
|
10 |
cache_dir='model_files'
|
11 |
)
|
12 |
-
predictor = WatermarksPredictor(model, transforms, '
|
13 |
|
14 |
|
15 |
def predict(image):
|
|
|
9 |
fp16=False,
|
10 |
cache_dir='model_files'
|
11 |
)
|
12 |
+
predictor = WatermarksPredictor(model, transforms, 'cpu')
|
13 |
|
14 |
|
15 |
def predict(image):
|