prompt: We are currently solving the following issue within our repository. Here is the issue text:
  --- BEGIN ISSUE ---
  MD5 hash error
  Hi, I get this error when running the script given in the example for beginner.
  
  `FileExistsError: bird1.jpg with a different MD5 hash already exists in /root/.cache/pystiche. If you want to overwrite it, set overwrite=True.`
  
  --- END ISSUE ---
  
  Below are some code segments, each from a relevant file. One or more of these files may contain bugs.
  --- BEGIN FILES ---
  Path: `pystiche/demo.py`
  Content:
  ```
  1 import logging
  2 import sys
  3 
  4 from pystiche.data import (
  5     DownloadableImage,
  6     DownloadableImageCollection,
  7     PixabayLicense,
  8     PublicDomainLicense,
  9 )
  10 from pystiche.optim import OptimLogger
  11 
  12 __all__ = ["demo_images", "demo_logger"]
  13 
  14 
  15 def demo_images():
  16     return DownloadableImageCollection(
  17         {
  18             "dancing": DownloadableImage(
  19                 "https://pytorch.org/tutorials/_static/img/neural-style/dancing.jpg",
  20                 md5="0a2df538901452d639170a2ed89815a4",
  21             ),
  22             "picasso": DownloadableImage(
  23                 "https://pytorch.org/tutorials/_static/img/neural-style/picasso.jpg",
  24                 md5="d1d60fc3f9d0b22d2d826c47934a37ea",
  25             ),
  26             "bird1": DownloadableImage(
  27                 "https://cdn.pixabay.com/photo/2016/01/14/11/26/bird-1139734_960_720.jpg",
  28                 file="bird1.jpg",
  29                 author="gholmz0",
  30                 date="09.03.2013",
  31                 license=PixabayLicense(),
  32                 md5="d42444d3cd0afa47f07066cd083d6cea",
  33             ),
  34             "paint": DownloadableImage(
  35                 "https://cdn.pixabay.com/photo/2017/07/03/20/17/abstract-2468874_960_720.jpg",
  36                 file="paint.jpg",
  37                 author="garageband",
  38                 date="03.07.2017",
  39                 license=PixabayLicense(),
  40                 md5="a991e222806ef49d34b172a67cf97d91",
  41             ),
  42             "bird2": DownloadableImage(
  43                 "https://cdn.pixabay.com/photo/2013/03/12/17/53/bird-92956_960_720.jpg",
  44                 file="bird2.jpg",
  45                 author="12019",
  46                 date="09.04.2012",
  47                 license=PixabayLicense(),
  48                 md5="dda3e1d0f93f783de823b4f91129d44e",
  49             ),
  50             "mosaic": DownloadableImage(
  51                 "https://upload.wikimedia.org/wikipedia/commons/2/23/Mosaic_ducks_Massimo.jpg",
  52                 file="mosaic.jpg",
  53                 author="Marie-Lan Nguyen",
  54                 date="2006",
  55                 license=PublicDomainLicense(),
  56                 md5="5b60cd1724395f7a0c21dc6dd006f8ae",
  57             ),
  58         }
  59     )
  60 
  61 
  62 def demo_logger():
  63     logger = logging.getLogger("demo_logger")
  64     logger.setLevel(logging.INFO)
  65 
  66     sh = logging.StreamHandler(sys.stdout)
  67     sh.setLevel(logging.INFO)
  68     logger.addHandler(sh)
  69 
  70     return OptimLogger(logger)
  71
  ```
  --- 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()
  
  ```
  
golden_diff: diff --git a/pystiche/demo.py b/pystiche/demo.py
  --- a/pystiche/demo.py
  +++ b/pystiche/demo.py
  @@ -29,7 +29,7 @@
                   author="gholmz0",
                   date="09.03.2013",
                   license=PixabayLicense(),
  -                md5="d42444d3cd0afa47f07066cd083d6cea",
  +                md5="36e5fef725943a5d1d22b5048095da86",
               ),
               "paint": DownloadableImage(
                   "https://cdn.pixabay.com/photo/2017/07/03/20/17/abstract-2468874_960_720.jpg",
  @@ -45,7 +45,7 @@
                   author="12019",
                   date="09.04.2012",
                   license=PixabayLicense(),
  -                md5="dda3e1d0f93f783de823b4f91129d44e",
  +                md5="8c5b608bd579d931e2cfe7229840fe9b",
               ),
               "mosaic": DownloadableImage(
                   "https://upload.wikimedia.org/wikipedia/commons/2/23/Mosaic_ducks_Massimo.jpg",
  
verification_info: {"golden_diff": "diff --git a/pystiche/demo.py b/pystiche/demo.py\n--- a/pystiche/demo.py\n+++ b/pystiche/demo.py\n@@ -29,7 +29,7 @@\n                 author=\"gholmz0\",\n                 date=\"09.03.2013\",\n                 license=PixabayLicense(),\n-                md5=\"d42444d3cd0afa47f07066cd083d6cea\",\n+                md5=\"36e5fef725943a5d1d22b5048095da86\",\n             ),\n             \"paint\": DownloadableImage(\n                 \"https://cdn.pixabay.com/photo/2017/07/03/20/17/abstract-2468874_960_720.jpg\",\n@@ -45,7 +45,7 @@\n                 author=\"12019\",\n                 date=\"09.04.2012\",\n                 license=PixabayLicense(),\n-                md5=\"dda3e1d0f93f783de823b4f91129d44e\",\n+                md5=\"8c5b608bd579d931e2cfe7229840fe9b\",\n             ),\n             \"mosaic\": DownloadableImage(\n                 \"https://upload.wikimedia.org/wikipedia/commons/2/23/Mosaic_ducks_Massimo.jpg\",\n", "issue": "MD5 hash error\nHi, I get this error when running the script given in the example for beginner.\r\n\r\n`FileExistsError: bird1.jpg with a different MD5 hash already exists in /root/.cache/pystiche. If you want to overwrite it, set overwrite=True.`\n", "before_files": [{"content": "import logging\nimport sys\n\nfrom pystiche.data import (\n    DownloadableImage,\n    DownloadableImageCollection,\n    PixabayLicense,\n    PublicDomainLicense,\n)\nfrom pystiche.optim import OptimLogger\n\n__all__ = [\"demo_images\", \"demo_logger\"]\n\n\ndef demo_images():\n    return DownloadableImageCollection(\n        {\n            \"dancing\": DownloadableImage(\n                \"https://pytorch.org/tutorials/_static/img/neural-style/dancing.jpg\",\n                md5=\"0a2df538901452d639170a2ed89815a4\",\n            ),\n            \"picasso\": DownloadableImage(\n                \"https://pytorch.org/tutorials/_static/img/neural-style/picasso.jpg\",\n                md5=\"d1d60fc3f9d0b22d2d826c47934a37ea\",\n            ),\n            \"bird1\": DownloadableImage(\n                \"https://cdn.pixabay.com/photo/2016/01/14/11/26/bird-1139734_960_720.jpg\",\n                file=\"bird1.jpg\",\n                author=\"gholmz0\",\n                date=\"09.03.2013\",\n                license=PixabayLicense(),\n                md5=\"d42444d3cd0afa47f07066cd083d6cea\",\n            ),\n            \"paint\": DownloadableImage(\n                \"https://cdn.pixabay.com/photo/2017/07/03/20/17/abstract-2468874_960_720.jpg\",\n                file=\"paint.jpg\",\n                author=\"garageband\",\n                date=\"03.07.2017\",\n                license=PixabayLicense(),\n                md5=\"a991e222806ef49d34b172a67cf97d91\",\n            ),\n            \"bird2\": DownloadableImage(\n                \"https://cdn.pixabay.com/photo/2013/03/12/17/53/bird-92956_960_720.jpg\",\n                file=\"bird2.jpg\",\n                author=\"12019\",\n                date=\"09.04.2012\",\n                license=PixabayLicense(),\n                md5=\"dda3e1d0f93f783de823b4f91129d44e\",\n            ),\n            \"mosaic\": DownloadableImage(\n                \"https://upload.wikimedia.org/wikipedia/commons/2/23/Mosaic_ducks_Massimo.jpg\",\n                file=\"mosaic.jpg\",\n                author=\"Marie-Lan Nguyen\",\n                date=\"2006\",\n                license=PublicDomainLicense(),\n                md5=\"5b60cd1724395f7a0c21dc6dd006f8ae\",\n            ),\n        }\n    )\n\n\ndef demo_logger():\n    logger = logging.getLogger(\"demo_logger\")\n    logger.setLevel(logging.INFO)\n\n    sh = logging.StreamHandler(sys.stdout)\n    sh.setLevel(logging.INFO)\n    logger.addHandler(sh)\n\n    return OptimLogger(logger)\n", "path": "pystiche/demo.py"}], "after_files": [{"content": "import logging\nimport sys\n\nfrom pystiche.data import (\n    DownloadableImage,\n    DownloadableImageCollection,\n    PixabayLicense,\n    PublicDomainLicense,\n)\nfrom pystiche.optim import OptimLogger\n\n__all__ = [\"demo_images\", \"demo_logger\"]\n\n\ndef demo_images():\n    return DownloadableImageCollection(\n        {\n            \"dancing\": DownloadableImage(\n                \"https://pytorch.org/tutorials/_static/img/neural-style/dancing.jpg\",\n                md5=\"0a2df538901452d639170a2ed89815a4\",\n            ),\n            \"picasso\": DownloadableImage(\n                \"https://pytorch.org/tutorials/_static/img/neural-style/picasso.jpg\",\n                md5=\"d1d60fc3f9d0b22d2d826c47934a37ea\",\n            ),\n            \"bird1\": DownloadableImage(\n                \"https://cdn.pixabay.com/photo/2016/01/14/11/26/bird-1139734_960_720.jpg\",\n                file=\"bird1.jpg\",\n                author=\"gholmz0\",\n                date=\"09.03.2013\",\n                license=PixabayLicense(),\n                md5=\"36e5fef725943a5d1d22b5048095da86\",\n            ),\n            \"paint\": DownloadableImage(\n                \"https://cdn.pixabay.com/photo/2017/07/03/20/17/abstract-2468874_960_720.jpg\",\n                file=\"paint.jpg\",\n                author=\"garageband\",\n                date=\"03.07.2017\",\n                license=PixabayLicense(),\n                md5=\"a991e222806ef49d34b172a67cf97d91\",\n            ),\n            \"bird2\": DownloadableImage(\n                \"https://cdn.pixabay.com/photo/2013/03/12/17/53/bird-92956_960_720.jpg\",\n                file=\"bird2.jpg\",\n                author=\"12019\",\n                date=\"09.04.2012\",\n                license=PixabayLicense(),\n                md5=\"8c5b608bd579d931e2cfe7229840fe9b\",\n            ),\n            \"mosaic\": DownloadableImage(\n                \"https://upload.wikimedia.org/wikipedia/commons/2/23/Mosaic_ducks_Massimo.jpg\",\n                file=\"mosaic.jpg\",\n                author=\"Marie-Lan Nguyen\",\n                date=\"2006\",\n                license=PublicDomainLicense(),\n                md5=\"5b60cd1724395f7a0c21dc6dd006f8ae\",\n            ),\n        }\n    )\n\n\ndef demo_logger():\n    logger = logging.getLogger(\"demo_logger\")\n    logger.setLevel(logging.INFO)\n\n    sh = logging.StreamHandler(sys.stdout)\n    sh.setLevel(logging.INFO)\n    logger.addHandler(sh)\n\n    return OptimLogger(logger)\n", "path": "pystiche/demo.py"}]}