# Dependent Inputs

**URL:** <https://discuss.huggingface.co/t/dependent-inputs/17362>\
**Category:** 🔒 Gradio\
**Created:** [April 30, 2022, 3:53pm UTC](https://discuss.huggingface.co/t/dependent-inputs/17362 "2022-04-30T15:53:32Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![brendenc](https://avatars.discourse-cdn.com/v4/letter/b/e95f7d/32.png) [@brendenc](https://discuss.huggingface.co/u/brendenc)\
**Post date:** [April 30, 2022, 3:53pm UTC](https://discuss.huggingface.co/t/dependent-inputs/17362/1 "2022-04-30T15:53:32Z")

</div>

Hello, I am curious if anyone has created a gradio app with dependent inputs. By “dependent inputs”, I would imagine something like two dropdown inputs, one for “movie genre” and one for “movie title”.

If a user were to select “comedy” as the movie genre, then the “movie title” dropdown would be limited to only display comedy titles. I don’t think there is any built in method to do this with Gradio, but curious if someone has thought of a workaround ?

---

<div class="post-metadata">

**Author:** ![osanseviero](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/osanseviero/32/38738_2.png) [@osanseviero](https://discuss.huggingface.co/u/osanseviero)\
**Post date:** [April 30, 2022, 5:50pm UTC](https://discuss.huggingface.co/t/dependent-inputs/17362/2 "2022-04-30T17:50:03Z")

</div>

Hey there! This should be possible with Gradio blocks which is getting released very soon. You can already play with it at [🙋 Community Feedback on Blocks (beta) · Issue #690 · gradio-app/gradio · GitHub](https://github.com/gradio-app/gradio/issues/690) and see an example interface (although it does not run due to gradio-unrelated issues) at [Tortoisse Tts - a Hugging Face Space by osanseviero](https://huggingface.co/spaces/osanseviero/tortoisse-tts)

---

<div class="post-metadata">

**Author:** ![brendenc](https://avatars.discourse-cdn.com/v4/letter/b/e95f7d/32.png) [@brendenc](https://discuss.huggingface.co/u/brendenc)\
**Post date:** [April 30, 2022, 6:27pm UTC](https://discuss.huggingface.co/t/dependent-inputs/17362/3 "2022-04-30T18:27:12Z")

</div>

Thanks so much! 😀

---

<div class="post-metadata">

**Author:** ![abidlabs](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/abidlabs/32/21878_2.png) [@abidlabs](https://discuss.huggingface.co/u/abidlabs)\
**Post date:** [May 20, 2022, 2:16am UTC](https://discuss.huggingface.co/t/dependent-inputs/17362/4 "2022-05-20T02:16:27Z")

</div>

This is now possible with [Gradio Blocks](https://www.gradio.app/docs/#blocks)! Let us know if you have any questions!
