diff options
author | Delbert <code@delbert.me> | 2015-04-30 10:15:58 +0800 |
---|---|---|
committer | Delbert <code@delbert.me> | 2015-04-30 10:15:58 +0800 |
commit | 63703edb0a4debd92c2b4e843612502c6015d203 (patch) | |
tree | da7e5819cfb5c22aeeb8eab7cd6da4a2228763bd /examples/web_demo | |
parent | 28e8f9ead072aaa2d90460d4e5eabf12f90a16c1 (diff) | |
download | caffeonacl-63703edb0a4debd92c2b4e843612502c6015d203.tar.gz caffeonacl-63703edb0a4debd92c2b4e843612502c6015d203.tar.bz2 caffeonacl-63703edb0a4debd92c2b4e843612502c6015d203.zip |
Correct the REPO_DIRNAME
Diffstat (limited to 'examples/web_demo')
-rw-r--r-- | examples/web_demo/app.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/web_demo/app.py b/examples/web_demo/app.py index c667ea94..09411f33 100644 --- a/examples/web_demo/app.py +++ b/examples/web_demo/app.py @@ -17,7 +17,7 @@ import exifutil import caffe -REPO_DIRNAME = os.path.abspath(os.path.dirname(__file__) + '/../..') +REPO_DIRNAME = os.path.abspath(os.path.dirname(os.path.abspath(__file__)) + '/../..') UPLOAD_FOLDER = '/tmp/caffe_demos_uploads' ALLOWED_IMAGE_EXTENSIONS = set(['png', 'bmp', 'jpg', 'jpe', 'jpeg', 'gif']) |