projects
/
platform
/
upstream
/
caffeonacl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
28e8f9e
)
Correct the REPO_DIRNAME
author
Delbert
<code@delbert.me>
Thu, 30 Apr 2015 02:15:58 +0000
(10:15 +0800)
committer
Delbert
<code@delbert.me>
Thu, 30 Apr 2015 02:15:58 +0000
(10:15 +0800)
examples/web_demo/app.py
patch
|
blob
|
history
diff --git
a/examples/web_demo/app.py
b/examples/web_demo/app.py
index
c667ea9
..
09411f3
100644
(file)
--- 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'])