# Connect a Python LLM to an HTML space

**URL:** </static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fconnect-a-python-llm-to-an-html-space%2F59575%3E%5C
**Category:** Beginners\
**Created:** [October 23, 2023, 3:34pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fconnect-a-python-llm-to-an-html-space%2F59575 "2023-10-23T15:34:17Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![CamiSalinas24](https://avatars.discourse-cdn.com/v4/letter/c/b4bc9f/32.png) [@CamiSalinas24](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2FCamiSalinas24)%5C
**Post date:** [October 23, 2023, 3:34pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fconnect-a-python-llm-to-an-html-space%2F59575%2F1 "2023-10-23T15:34:17Z")

</div>

I am currently working on a website template created by myself, but I want it to work with a python file that contains backend code to run llms. I am new working with NLP and LLMs, and I am very confused on what to do. How can I connect the python file so that it works with my HTML code?
