Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/stanfordnlp/stanza.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/demo
diff options
context:
space:
mode:
authorPeng Qi <qipeng@users.noreply.github.com>2019-01-31 04:53:22 +0300
committerPeng Qi <qipeng@users.noreply.github.com>2019-01-31 04:53:22 +0300
commitdf176f945406e53de7b3cd6cf6f4b8c80eab466a (patch)
treed7a02e254e967796e78d636276393c0fb9f865e4 /demo
parent0c4195017ee720cbd5d706fc59805648cd8f9dac (diff)
Quick fix for demo script
Diffstat (limited to 'demo')
-rw-r--r--demo/pipeline_demo.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/demo/pipeline_demo.py b/demo/pipeline_demo.py
index a71ff27e..c9ca954d 100644
--- a/demo/pipeline_demo.py
+++ b/demo/pipeline_demo.py
@@ -13,7 +13,7 @@ if __name__ == '__main__':
# get arguments
parser = argparse.ArgumentParser()
parser.add_argument('-d', '--models_dir', help='location of models files | default: ~/stanfordnlp_data',
- default=DEFAULT_MODEL_DIR)
+ default=None)
parser.add_argument('-l', '--lang', help='Demo language',
default="en")
parser.add_argument('-c', '--cpu', action='store_true', help='Use cpu as the device.')