Skip to content

Commit ca4b45c

Browse files
author
Julien Salinas
committed
Fix NLP Cloud user agent.
1 parent f2a2281 commit ca4b45c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

nlpcloud/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ class Client:
88
def __init__(self, model, token, gpu=False):
99
self.headers = {
1010
"Authorization": "Token " + token,
11-
"User-Agent": "nlploud-python-client"
11+
"User-Agent": "nlpcloud-python-client"
1212
}
1313
if gpu:
1414
self.root_url = "{}/{}/gpu/{}".format(BASE_URL, API_VERSION, model)

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
setup(
44
name='nlpcloud',
5-
version='1.0.13',
5+
version='1.0.14',
66
description='Python client for the NLP Cloud API',
77
long_description="NLP Cloud serves high performance pre-trained or custom models for NER, sentiment-analysis, classification, summarization, text generation, question answering, machine translation, language detection, tokenization, POS tagging, and dependency parsing. It is ready for production, served through a REST API.\n\nThis is the Python client for the API.\n\nMore details here: https://nlpcloud.io\n\nDocumentation: https://docs.nlpcloud.io\n\nGithub: https://github.com/nlpcloud/nlpcloud-python",
88
packages=['nlpcloud'],

0 commit comments

Comments
 (0)