# Customizing a Gradio interface when loading a Hugging Face model

**URL:** <https://discuss.huggingface.co/t/customizing-a-gradio-interface-when-loading-a-hugging-face-model/18007>\
**Category:** 🔒 Gradio\
**Created:** [May 16, 2022, 1:35pm UTC](https://discuss.huggingface.co/t/customizing-a-gradio-interface-when-loading-a-hugging-face-model/18007 "2022-05-16T13:35:01Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![smc](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/smc/32/4795_2.png) [@smc](https://discuss.huggingface.co/u/smc)\
**Post date:** [May 16, 2022, 1:35pm UTC](https://discuss.huggingface.co/t/customizing-a-gradio-interface-when-loading-a-hugging-face-model/18007/1 "2022-05-16T13:35:01Z")

</div>

Hi everyone,

I’m learning how to use gradio to deploy demos of models I’ve built in Hugging Face. One question though, when I load a model in this fashion:

```auto
iface = gr.Interface.load('huggingface/...', alias='Classifier')

```

How can I add title, description and other customizations to the interface? When I try to add it under the Interface() method it asks for a function:

```auto
iface = gr.Interface(title="demo title", description="this is a classifier").load('huggingface/...', alias='Classifier')

```

How can I do this without providing a function?

Thank you!

---

<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:10am UTC](https://discuss.huggingface.co/t/customizing-a-gradio-interface-when-loading-a-hugging-face-model/18007/2 "2022-05-20T02:10:48Z")

</div>

Hi @smc, good question – you can do this by passing the parameters into `load()` itself. So like this:

```nohighlight
iface = gr.Interface.load('huggingface/...', title="demo title", description="this is a classifier")

```
