# Outdated gradio?

**URL:** </static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Foutdated-gradio%2F18689%3E%5C
**Category:** Spaces\
**Created:** [June 3, 2022, 12:22pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Foutdated-gradio%2F18689 "2022-06-03T12:22:06Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![oroszgy](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/oroszgy/32/4984_2.png) [@oroszgy](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Foroszgy)%5C
**Post date:** [June 3, 2022, 12:22pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Foutdated-gradio%2F18689%2F1 "2022-06-03T12:22:06Z")

</div>

My app runs fine on my local machine, but at Spaces it throws an exception: `AttributeError: module 'gradio' has no attribute 'Textbox'` Is it possible that HF Spaces override the gradio version specified in requirements.txt?

This is the app, anyways: [https://huggingface.co/spaces/huspacy/example-applications](https://huggingface.co/spaces/huspacy/example-applications)

---

<div class="post-metadata">

**Author:** ![oroszgy](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/oroszgy/32/4984_2.png) [@oroszgy](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Foroszgy)%5C
**Post date:** [June 3, 2022, 1:25pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Foutdated-gradio%2F18689%2F3 "2022-06-03T13:25:28Z")

</div>

@merve Thanks for the quick response. What is strange that my workspaces uses gradio==2.9 by default, however from reading the docs ([Spaces Changelog](https://huggingface.co/docs/hub/spaces-changelog)) tells me that 3.x should be available. Is it just me, who gets the outdated gradio?

---

<div class="post-metadata">

**Author:** ![oroszgy](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/oroszgy/32/4984_2.png) [@oroszgy](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Foroszgy)%5C
**Post date:** [June 3, 2022, 1:32pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Foutdated-gradio%2F18689%2F4 "2022-06-03T13:32:19Z")

</div>

It turned out that I all I needed is to set the sdk version correctly:

```auto
sdk: gradio
sdk_version: 3.0.11

```
