# How to create Hosted Inference API

**URL:** <https://discuss.huggingface.co/t/how-to-create-hosted-inference-api/24058>\
**Category:** 🤗Hub\
**Created:** [October 6, 2022, 6:32am UTC](https://discuss.huggingface.co/t/how-to-create-hosted-inference-api/24058 "2022-10-06T06:32:15Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![nloc2578](https://avatars.discourse-cdn.com/v4/letter/n/6bbea6/32.png) [@nloc2578](https://discuss.huggingface.co/u/nloc2578)\
**Post date:** [October 6, 2022, 6:32am UTC](https://discuss.huggingface.co/t/how-to-create-hosted-inference-api/24058/1 "2022-10-06T06:32:16Z")

</div>

I finished training my model]([nloc2578/QAG · Hugging Face](https://huggingface.co/nloc2578/QAG)) (without push\_to\_hub()) on gg colab and all my result and files (config.json, pytorch\_model.bin, tokenizer.json, …) are saved in Drive. Now I want to create Hosted Inference API (HIA) for Spaces later usage, and I see that I need to upload config.json, pytorch\_model.bin to the Hub. I did it but I still dont have the HIA.

Please help!!!
