Articles → LANGCHAIN → Deploy Your Streamlit Chatbot On Hugging Face Space

Deploy Your Streamlit Chatbot On Hugging Face Space






Creating A Space In Hugging Face




https://huggingface.co/




Picture showing the Spaces menu in Spaces  web portal




Picture showing the + New Space button for creating a new space




Picture showing the section of the screen to enter the space name




Picture showing selecting the Streamlit SDK




Picture showing selecting the space hardware and accessibility




Picture showing the Enable Dev Mode menu for opening in dev mode



Create A Secret Key




Picture showing the settings link to create the secret key




Picture showing the variables and secrets section for creating the secret key




Picture showing a pop-up window to create a new secret key





Install Libraries And Copy Code




Picture showing the Files menu for opening in file mode




Picture showing the requirements.txt with the list of libraries to be installed




Picture showing the docker file where the entry point is mentioned




Picture showing the streamlit_app.py file in the src folder




Picture showing the code pasted in streamlit_app.py file



Output




Picture showing the chatbot after deploying it to huggingface space





Posted By  -  Karan Gupta
 
Posted On  -  Tuesday, May 19, 2026

Query/Feedback


Your Email Id
 
Subject
 
Query/FeedbackCharacters remaining 250