AttributeError: 'Image' object has no attribute 'value'

Hello could you help me resolve the error i’m getting please. I can import and load the theme locally with with gr.Blocks(theme=("Katie-portswigger/Portswigger")) as demo:
But it’s not running in Spaces.

CONTAINER LOGS:
===== Application Startup at 2023-08-22 14:32:28 =====

Downloading (…)_schema%400.0.1.json: 0%| | 0.00/13.4k [00:00<?, ?B/s]
Downloading (…)_schema%400.0.1.json: 100%|██████████| 13.4k/13.4k [00:00<00:00, 78.8MB/s]
Traceback (most recent call last):
File “/home/user/app/app.py”, line 67, in
img = gr.Image(
File “/home/user/.local/lib/python3.10/site-packages/gradio/components.py”, line 1667, in init
IOComponent.init(
File “/home/user/.local/lib/python3.10/site-packages/gradio/components.py”, line 210, in init
else self.postprocess(initial_value)
File “/home/user/.local/lib/python3.10/site-packages/gradio/components.py”, line 1797, in postprocess
return client_utils.encode_url_or_file_to_base64(y)
File “/home/user/.local/lib/python3.10/site-packages/gradio_client/utils.py”, line 386, in encode_url_or_file_to_base64
return encode_url_to_base64(path)
File “/home/user/.local/lib/python3.10/site-packages/gradio_client/utils.py”, line 374, in encode_url_to_base64
resp.raise_for_status()
File “/home/user/.local/lib/python3.10/site-packages/requests/models.py”, line 1021, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 404 Client Error: Not Found for url: https://www.gradio.app/assets/img/header-image.jpg

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File “/home/user/app/app.py”, line 9, in
with gr.Blocks(theme=‘Katie-portswigger/Portswigger’) as demo:
File “/home/user/.local/lib/python3.10/site-packages/gradio/blocks.py”, line 1200, in exit
self.config = self.get_config_file()
File “/home/user/.local/lib/python3.10/site-packages/gradio/blocks.py”, line 1165, in get_config_file
props = block.get_config() if hasattr(block, “get_config”) else {}
File “/home/user/.local/lib/python3.10/site-packages/gradio/components.py”, line 1687, in get_config
“value”: self.value,
AttributeError: ‘Image’ object has no attribute ‘value’

BUILD LOGS:
===== Build Queued at 2023-08-22 14:32:17 / Commit SHA: e2b1e3f =====

→ FROM Docker
DONE 0.0s

→ RUN useradd -m -u 1000 user
CACHED

→ RUN pip install --no-cache-dir pip==22.3.1 && pip install --no-cache-dir datasets “huggingface-hub>=0.12.1” “protobuf<4” “click<8.1” “pydantic~=1.0”
CACHED

→ COPY --link --chown=1000 --from=lfs /app /home/user/app
CACHED

→ RUN --mount=target=requirements.txt,source=requirements.txt pip install --no-cache-dir -r requirements.txt
CACHED

→ RUN apt-get update && apt-get install -y git git-lfs ffmpeg libsm6 libxext6 cmake libgl1-mesa-glx && rm -rf /var/lib/apt/lists/* && git lfs install
CACHED

→ RUN --mount=target=pre-requirements.txt,source=pre-requirements.txt pip install --no-cache-dir -r pre-requirements.txt
CACHED

→ RUN --mount=target=/root/packages.txt,source=packages.txt apt-get update && xargs -r -a /root/packages.txt apt-get install -y && rm -rf /var/lib/apt/lists/*
CACHED

→ WORKDIR /home/user/app
CACHED

→ RUN pip install --no-cache-dir gradio==3.24.1
CACHED

→ COPY --link --chown=1000 ./ /home/user/app
DONE 0.0s

→ Pushing image
DONE 1.2s

→ Exporting cache
DONE 1.6s

What’s the Space you’re trying? Can you make sure it’s running the latest version of gradio?