Spaces:
Runtime error
Runtime error
selfitcamera
commited on
Commit
·
6044c13
1
Parent(s):
a935ecc
init
Browse files
config.py
CHANGED
|
@@ -15,6 +15,10 @@ from collections import OrderedDict
|
|
| 15 |
|
| 16 |
|
| 17 |
taskType = "3"
|
|
|
|
|
|
|
|
|
|
|
|
|
| 18 |
|
| 19 |
|
| 20 |
CapVisible = True
|
|
|
|
| 15 |
|
| 16 |
|
| 17 |
taskType = "3"
|
| 18 |
+
try:
|
| 19 |
+
taskType = int(os.environ['taskType'])
|
| 20 |
+
except Exception as e:
|
| 21 |
+
print(e)
|
| 22 |
|
| 23 |
|
| 24 |
CapVisible = True
|