# Display an image before any inputs from the user?

**URL:** </static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fdisplay-an-image-before-any-inputs-from-the-user%2F24684%3E%5C
**Category:** 🔒 Gradio\
**Created:** [October 19, 2022, 6:22pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fdisplay-an-image-before-any-inputs-from-the-user%2F24684 "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](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Fyfzhoucs)%5C
**Post date:** [October 19, 2022, 6:22pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fdisplay-an-image-before-any-inputs-from-the-user%2F24684%2F1 "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](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Fabidlabs)%5C
**Post date:** [November 4, 2022, 4:48am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fdisplay-an-image-before-any-inputs-from-the-user%2F24684%2F2 "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()`
