# Display an image before any inputs from the user?

**URL:** <https://discuss.huggingface.co/t/display-an-image-before-any-inputs-from-the-user/24684>\
**Category:** 🔒 Gradio\
**Created:** [October 19, 2022, 6:22pm UTC](https://discuss.huggingface.co/t/display-an-image-before-any-inputs-from-the-user/24684 "2022-10-19T18:22:18Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![yfzhoucs](https://avatars.discourse-cdn.com/v4/letter/y/9de0a6/32.png) [@yfzhoucs](https://discuss.huggingface.co/u/yfzhoucs)\
**Post date:** [October 19, 2022, 6:22pm UTC](https://discuss.huggingface.co/t/display-an-image-before-any-inputs-from-the-user/24684/1 "2022-10-19T18:22:18Z")

</div>

Hi,

TL;DR:  
Is it possible to display an image upon start, before users’ inputs?

Contexts:  
I’m trying to find a way to put onto gradio the interface of a table-top robot simulator. That robot is actually interactive – you can give language commands and the robot will be able to have some reactions.

I think it is doable if I can display the first image of the simulator at first upon initialization, and take in user inputs, and use them to update the simulator and record the robot actions as a gif as output. However I didn’t really find a way to display that initial image.

Any ideas or any hacks?

Best,

---

<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:** [November 4, 2022, 4:48am UTC](https://discuss.huggingface.co/t/display-an-image-before-any-inputs-from-the-user/24684/2 "2022-11-04T04:48:21Z")

</div>

Hi @yfzhoucs yes it’s possible to show a default value. Simply pass the path to the image into the `value=` parameter of `gr.Image()`
