We are currently solving the following issue within our repository. Here is the issue text:
--- BEGIN ISSUE ---
Fix serving.kubeflow.org annotations in docs/samples
I've noticed that some `docs/samples` still use in `metadata.annotations` the `serving.kubeflow.org` instead of `serving.kserve.org`. See this [example](https://github.com/kserve/kserve/blob/master/docs/samples/kafka/s3_secret.yaml).
To save debugging time for others migrating from KFserving, I could create PR that fixes that.

--- END ISSUE ---

Below are some code segments, each from a relevant file. One or more of these files may contain bugs.
--- BEGIN FILES ---
Path: `docs/samples/kafka/setup.py`
Content:
```
1 #
2 # Licensed under the Apache License, Version 2.0 (the "License");
3 # you may not use this file except in compliance with the License.
4 # You may obtain a copy of the License at
5 #
6 #    http://www.apache.org/licenses/LICENSE-2.0
7 #
8 # Unless required by applicable law or agreed to in writing, software
9 # distributed under the License is distributed on an "AS IS" BASIS,
10 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11 # See the License for the specific language governing permissions and
12 # limitations under the License.
13 
14 from setuptools import setup, find_packages
15 
16 tests_require = [
17     'pytest',
18     'pytest-tornasync',
19     'mypy'
20 ]
21 
22 setup(
23     name='transformer',
24     version='0.1.0',
25     author_email='dsun20@bloomberg.net',
26     license='../../LICENSE.txt',
27     url='https://github.com/kserve/kserve/tree/master/docs/samples#deploy-inferenceservice-with-transformer',
28     description='Transformer',
29     long_description=open('README.md').read(),
30     python_requires='>=3.6',
31     packages=find_packages("transformer"),
32     install_requires=[
33         "kfserving>=0.2.1",
34         "argparse>=1.4.0",
35         "requests>=2.22.0",
36         "joblib>=0.13.2",
37         "pandas>=0.24.2",
38         "numpy>=1.16.3",
39         "kubernetes >= 9.0.0",
40         "opencv-python-headless==4.0.0.21",
41         "boto3==1.7.2"
42     ],
43     tests_require=tests_require,
44     extras_require={'test': tests_require}
45 )
46
```
--- 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/docs/samples/kafka/setup.py b/docs/samples/kafka/setup.py
--- a/docs/samples/kafka/setup.py
+++ b/docs/samples/kafka/setup.py
@@ -24,21 +24,15 @@
     version='0.1.0',
     author_email='dsun20@bloomberg.net',
     license='../../LICENSE.txt',
-    url='https://github.com/kserve/kserve/tree/master/docs/samples#deploy-inferenceservice-with-transformer',
+    url='https://github.com/kserve/kserve/tree/master/docs/samples/kafka',
     description='Transformer',
     long_description=open('README.md').read(),
-    python_requires='>=3.6',
+    python_requires='>=3.7',
     packages=find_packages("transformer"),
     install_requires=[
-        "kfserving>=0.2.1",
-        "argparse>=1.4.0",
-        "requests>=2.22.0",
-        "joblib>=0.13.2",
+        "kserve>=0.7.0",
         "pandas>=0.24.2",
-        "numpy>=1.16.3",
-        "kubernetes >= 9.0.0",
         "opencv-python-headless==4.0.0.21",
-        "boto3==1.7.2"
     ],
     tests_require=tests_require,
     extras_require={'test': tests_require}

{"golden_diff": "diff --git a/docs/samples/kafka/setup.py b/docs/samples/kafka/setup.py\n--- a/docs/samples/kafka/setup.py\n+++ b/docs/samples/kafka/setup.py\n@@ -24,21 +24,15 @@\n     version='0.1.0',\n     author_email='dsun20@bloomberg.net',\n     license='../../LICENSE.txt',\n-    url='https://github.com/kserve/kserve/tree/master/docs/samples#deploy-inferenceservice-with-transformer',\n+    url='https://github.com/kserve/kserve/tree/master/docs/samples/kafka',\n     description='Transformer',\n     long_description=open('README.md').read(),\n-    python_requires='>=3.6',\n+    python_requires='>=3.7',\n     packages=find_packages(\"transformer\"),\n     install_requires=[\n-        \"kfserving>=0.2.1\",\n-        \"argparse>=1.4.0\",\n-        \"requests>=2.22.0\",\n-        \"joblib>=0.13.2\",\n+        \"kserve>=0.7.0\",\n         \"pandas>=0.24.2\",\n-        \"numpy>=1.16.3\",\n-        \"kubernetes >= 9.0.0\",\n         \"opencv-python-headless==4.0.0.21\",\n-        \"boto3==1.7.2\"\n     ],\n     tests_require=tests_require,\n     extras_require={'test': tests_require}\n", "issue": "Fix serving.kubeflow.org annotations in docs/samples\nI've noticed that some `docs/samples` still use in `metadata.annotations` the `serving.kubeflow.org` instead of `serving.kserve.org`. See this [example](https://github.com/kserve/kserve/blob/master/docs/samples/kafka/s3_secret.yaml).\r\nTo save debugging time for others migrating from KFserving, I could create PR that fixes that.\n", "before_files": [{"content": "#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n#    http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License.\n\nfrom setuptools import setup, find_packages\n\ntests_require = [\n    'pytest',\n    'pytest-tornasync',\n    'mypy'\n]\n\nsetup(\n    name='transformer',\n    version='0.1.0',\n    author_email='dsun20@bloomberg.net',\n    license='../../LICENSE.txt',\n    url='https://github.com/kserve/kserve/tree/master/docs/samples#deploy-inferenceservice-with-transformer',\n    description='Transformer',\n    long_description=open('README.md').read(),\n    python_requires='>=3.6',\n    packages=find_packages(\"transformer\"),\n    install_requires=[\n        \"kfserving>=0.2.1\",\n        \"argparse>=1.4.0\",\n        \"requests>=2.22.0\",\n        \"joblib>=0.13.2\",\n        \"pandas>=0.24.2\",\n        \"numpy>=1.16.3\",\n        \"kubernetes >= 9.0.0\",\n        \"opencv-python-headless==4.0.0.21\",\n        \"boto3==1.7.2\"\n    ],\n    tests_require=tests_require,\n    extras_require={'test': tests_require}\n)\n", "path": "docs/samples/kafka/setup.py"}], "after_files": [{"content": "#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n#    http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License.\n\nfrom setuptools import setup, find_packages\n\ntests_require = [\n    'pytest',\n    'pytest-tornasync',\n    'mypy'\n]\n\nsetup(\n    name='transformer',\n    version='0.1.0',\n    author_email='dsun20@bloomberg.net',\n    license='../../LICENSE.txt',\n    url='https://github.com/kserve/kserve/tree/master/docs/samples/kafka',\n    description='Transformer',\n    long_description=open('README.md').read(),\n    python_requires='>=3.7',\n    packages=find_packages(\"transformer\"),\n    install_requires=[\n        \"kserve>=0.7.0\",\n        \"pandas>=0.24.2\",\n        \"opencv-python-headless==4.0.0.21\",\n    ],\n    tests_require=tests_require,\n    extras_require={'test': tests_require}\n)\n", "path": "docs/samples/kafka/setup.py"}]}