From f8faf578559b030d5d1f14abf22f5a2c2f8e5603 Mon Sep 17 00:00:00 2001 From: John Hurliman Date: Wed, 24 Jan 2018 21:01:44 -0800 Subject: [PATCH] Fix for `enhance` shell alias Resolves #193 --- README.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.rst b/README.rst index 0bf99e7..cdf616f 100644 --- a/README.rst +++ b/README.rst @@ -106,7 +106,7 @@ Here's the simplest way you can call the script using ``docker``, assuming you'r .. code:: bash # Setup the alias. Put this in your .bashrc or .zshrc file so it's available at startup. - alias enhance='function ne() { docker run --rm -v "$(pwd)/`dirname ${@:$#}`":/ne/input -it alexjc/neural-enhance ${@:1:$#-1} "input/`basename ${@:$#}`"; }; ne' + alias enhance='function ne() { docker run --rm -v "$(pwd)/`dirname ${@:$#}`":/ne/input -it alexjc/neural-enhance ${@:1:$#-1} "/ne/input/`basename ${@:$#}`"; }; ne' # Now run any of the examples above using this alias, without the `.py` extension. enhance --zoom=1 --model=repair images/broken.jpg