# Clear button bug in latest Gradio version 3.34.0

**URL:** </static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fclear-button-bug-in-latest-gradio-version-3-34-0%2F42817%3E%5C
**Category:** Spaces\
**Created:** [June 11, 2023, 7:41am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fclear-button-bug-in-latest-gradio-version-3-34-0%2F42817 "2023-06-11T07:41:51Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![maxomorphic](https://avatars.discourse-cdn.com/v4/letter/m/e5b9ba/32.png) [@maxomorphic](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Fmaxomorphic)%5C
**Post date:** [June 11, 2023, 7:41am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fclear-button-bug-in-latest-gradio-version-3-34-0%2F42817%2F1 "2023-06-11T07:41:51Z")

</div>

The Clear button in the current Gradio Interface has a bug which means it doesn’t clear the image from Image input widgets. It partially locks up the user interface, requiring the web page to be reloaded.

A bug report has been raised: [Clear button in Interface no longer clears Image input (new in release 3.34.0) · Issue #4473 · gradio-app/gradio · GitHub](https://github.com/gradio-app/gradio/issues/4473)

This will only affect Spaces created in the last few days.

If your Space is affected, the fix is to downgrade to the previous version of Gradio, which doesn’t have the bug. In your README.md file, change the sdk\_version line to:

```auto
sdk_version: 3.33.1

```

and you should have a working Clear button.

---

<div class="post-metadata">

**Author:** ![maxomorphic](https://avatars.discourse-cdn.com/v4/letter/m/e5b9ba/32.png) [@maxomorphic](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Fmaxomorphic)%5C
**Post date:** [June 16, 2023, 11:03am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fclear-button-bug-in-latest-gradio-version-3-34-0%2F42817%2F2 "2023-06-16T11:03:57Z")

</div>

## Update

Gradio have fixed this bug in more recent releases, so newly created Spaces should no longer be affected.

If you have problems with a Gradio Clear button in one of your Spaces, check the sdk\_version and change it to a more recent release if necessary.
