summaryrefslogtreecommitdiff
path: root/examples/web_demo
diff options
context:
space:
mode:
authorDelbert <code@delbert.me>2015-04-30 10:15:58 +0800
committerDelbert <code@delbert.me>2015-04-30 10:15:58 +0800
commit63703edb0a4debd92c2b4e843612502c6015d203 (patch)
treeda7e5819cfb5c22aeeb8eab7cd6da4a2228763bd /examples/web_demo
parent28e8f9ead072aaa2d90460d4e5eabf12f90a16c1 (diff)
downloadcaffeonacl-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.py2
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'])