# Building Generative AI applications using Gradio

**URL:** <https://community.deeplearning.ai/t/building-generative-ai-applications-using-gradio/407715>\
**Category:** Building Systems with the ChatGPT API\
**Created:** [August 4, 2023, 10:38am UTC](https://community.deeplearning.ai/t/building-generative-ai-applications-using-gradio/407715 "2023-08-04T10:38:14Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Anirban\_K](https://avatars.discourse-cdn.com/v4/letter/a/2bfe46/32.png) [@Anirban\_K](https://community.deeplearning.ai/u/Anirban_K)\
**Post date:** [August 4, 2023, 10:38am UTC](https://community.deeplearning.ai/t/building-generative-ai-applications-using-gradio/407715/1 "2023-08-04T10:38:14Z")

</div>

Where can we get the HF\_API\_KEY and the HF\_API\_ITT\_BASE values, ie how do we deploy a hugging face model and get the URL and key ? Please give the details. I did not get this, not sure if this is discussed anywhere. Did I miss it.

I can run the models in my local env, by downloading the models, but I want to access the models using deployed REST API.

Thanks,  
Anirban

---

<div class="post-metadata">

**Author:** ![Anirban\_K](https://avatars.discourse-cdn.com/v4/letter/a/2bfe46/32.png) [@Anirban\_K](https://community.deeplearning.ai/u/Anirban_K)\
**Post date:** [August 7, 2023, 5:10am UTC](https://community.deeplearning.ai/t/building-generative-ai-applications-using-gradio/407715/2 "2023-08-07T05:10:33Z")

</div>

Pls ignore this query , got the answer here [Overview](https://huggingface.co/docs/api-inference/quicktour)

Thanks
