Spaces:
Runtime error
Runtime error
Jingkang Yang
commited on
Commit
·
dbe453e
1
Parent(s):
64aa48b
update: clip
Browse files
app.py
CHANGED
@@ -1,10 +1,10 @@
|
|
1 |
# Copyright (c) Facebook, Inc. and its affiliates.
|
2 |
# Copyright (c) Meta Platforms, Inc. All Rights Reserved
|
3 |
-
try:
|
4 |
-
|
5 |
-
except:
|
6 |
-
|
7 |
-
|
8 |
|
9 |
try:
|
10 |
import detectron2
|
|
|
1 |
# Copyright (c) Facebook, Inc. and its affiliates.
|
2 |
# Copyright (c) Meta Platforms, Inc. All Rights Reserved
|
3 |
+
# try:
|
4 |
+
# import torch
|
5 |
+
# except:
|
6 |
+
import os
|
7 |
+
os.system('pip installtorch==1.10.1+cu113 torchvision==0.11.2+cu113 torchaudio==0.10.1+cu113 -f https://download.pytorch.org/whl/torch_stable.html')
|
8 |
|
9 |
try:
|
10 |
import detectron2
|