We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a72a041 commit 2b4dbddCopy full SHA for 2b4dbdd
sdk/diffgram/brain/brain.py
@@ -4,7 +4,11 @@
4
import tempfile
5
6
# TODO import these only if local prediction is needed
7
-import cv2
+
8
+try:
9
+ import cv2
10
+except:
11
+ print("Could not import cv2")
12
13
try:
14
import tensorflow as tf
sdk/setup.py
@@ -1,8 +1,11 @@
1
import setuptools
2
import diffgram.__init__ as init
3
-with open(".././README.md", "r") as fh:
- long_description = fh.read()
+ with open(".././README.md", "r") as fh:
+ long_description = fh.read()
+ long_description = "None"
setuptools.setup(
name = init.__name__,
@@ -22,7 +25,6 @@
22
25
],
23
26
install_requires=[
24
27
'requests>=2.20.1',
- 'opencv-python>=4.0.0.21',
28
'scipy>=1.1.0',
29
'six>=1.9.0',
30
'pillow>=6.1.0',
0 commit comments