We are currently solving the following issue within our repository. Here is the issue text:
--- BEGIN ISSUE ---
Update torch version to 1.0.0
torch version 1.0.0 is available. Use torch version 1.0.0 in Flair.

--- END ISSUE ---

Below are some code segments, each from a relevant file. One or more of these files may contain bugs.
--- BEGIN FILES ---
Path: `setup.py`
Content:
```
1 from setuptools import setup, find_packages
2 
3 setup(
4     name='flair',
5     version='0.3.2',
6     description='A very simple framework for state-of-the-art NLP',
7     long_description=open("README.md", encoding='utf-8').read(),
8     long_description_content_type="text/markdown",
9     author='Alan Akbik',
10     author_email='alan.akbik@zalando.de',
11     url='https://github.com/zalandoresearch/flair',
12     packages=find_packages(exclude='test'),  # same as name
13     license='MIT',
14     install_requires=[
15         'torch==0.4.1',
16         'gensim==3.4.0',
17         'typing==3.6.4',
18         'tqdm==4.26.0',
19         'segtok==1.5.7',
20         'matplotlib==3.0.0',
21         'mpld3==0.3',
22         'sklearn',
23         'sqlitedict==1.6.0',
24         'deprecated==1.2.4',
25         'hyperopt==0.1.1',
26         'pytorch-pretrained-bert==0.3.0'
27     ],
28     include_package_data=True,
29     python_requires='>=3.6',
30 )
31
```
--- END FILES ---

Please first localize the bug based on the issue statement, and then generate a patch according to the `git diff` format fenced by three backticks.

Here is an example:

```diff
diff --git a/examples/server_async.py b/examples/server_async.py
--- a/examples/server_async.py
+++ b/examples/server_async.py
@@ -313,4 +313,4 @@
 
 
 if __name__ == "__main__":
-    asyncio.run(run_async_server("."), debug=True)
+    asyncio.run(run_async_server(), debug=True)
diff --git a/examples/server_sync.py b/examples/server_sync.py
--- a/examples/server_sync.py
+++ b/examples/server_sync.py
@@ -313,5 +313,5 @@
 
 
 if __name__ == "__main__":
-    server = run_sync_server(".")
+    server = run_sync_server()
     server.shutdown()

```

diff --git a/setup.py b/setup.py
--- a/setup.py
+++ b/setup.py
@@ -12,7 +12,7 @@
     packages=find_packages(exclude='test'),  # same as name
     license='MIT',
     install_requires=[
-        'torch==0.4.1',
+        'torch==1.0.0',
         'gensim==3.4.0',
         'typing==3.6.4',
         'tqdm==4.26.0',

{"golden_diff": "diff --git a/setup.py b/setup.py\n--- a/setup.py\n+++ b/setup.py\n@@ -12,7 +12,7 @@\n     packages=find_packages(exclude='test'),  # same as name\n     license='MIT',\n     install_requires=[\n-        'torch==0.4.1',\n+        'torch==1.0.0',\n         'gensim==3.4.0',\n         'typing==3.6.4',\n         'tqdm==4.26.0',\n", "issue": "Update torch version to 1.0.0\ntorch version 1.0.0 is available. Use torch version 1.0.0 in Flair.\n", "before_files": [{"content": "from setuptools import setup, find_packages\n\nsetup(\n    name='flair',\n    version='0.3.2',\n    description='A very simple framework for state-of-the-art NLP',\n    long_description=open(\"README.md\", encoding='utf-8').read(),\n    long_description_content_type=\"text/markdown\",\n    author='Alan Akbik',\n    author_email='alan.akbik@zalando.de',\n    url='https://github.com/zalandoresearch/flair',\n    packages=find_packages(exclude='test'),  # same as name\n    license='MIT',\n    install_requires=[\n        'torch==0.4.1',\n        'gensim==3.4.0',\n        'typing==3.6.4',\n        'tqdm==4.26.0',\n        'segtok==1.5.7',\n        'matplotlib==3.0.0',\n        'mpld3==0.3',\n        'sklearn',\n        'sqlitedict==1.6.0',\n        'deprecated==1.2.4',\n        'hyperopt==0.1.1',\n        'pytorch-pretrained-bert==0.3.0'\n    ],\n    include_package_data=True,\n    python_requires='>=3.6',\n)\n", "path": "setup.py"}], "after_files": [{"content": "from setuptools import setup, find_packages\n\nsetup(\n    name='flair',\n    version='0.3.2',\n    description='A very simple framework for state-of-the-art NLP',\n    long_description=open(\"README.md\", encoding='utf-8').read(),\n    long_description_content_type=\"text/markdown\",\n    author='Alan Akbik',\n    author_email='alan.akbik@zalando.de',\n    url='https://github.com/zalandoresearch/flair',\n    packages=find_packages(exclude='test'),  # same as name\n    license='MIT',\n    install_requires=[\n        'torch==1.0.0',\n        'gensim==3.4.0',\n        'typing==3.6.4',\n        'tqdm==4.26.0',\n        'segtok==1.5.7',\n        'matplotlib==3.0.0',\n        'mpld3==0.3',\n        'sklearn',\n        'sqlitedict==1.6.0',\n        'deprecated==1.2.4',\n        'hyperopt==0.1.1',\n        'pytorch-pretrained-bert==0.3.0'\n    ],\n    include_package_data=True,\n    python_requires='>=3.6',\n)\n", "path": "setup.py"}]}