A simple Streamlit app that demonstrates a chatbot using Hugging Face's text generation models.
- Choose from different Hugging Face models (gpt2, distilgpt2, EleutherAI/gpt-neo-125M)
- Interactive chat interface
- Message history persistence
- Select a model from the dropdown menu
- Type your message in the chat input
- The chatbot will generate and display a response
-
Install the required packages:
pip install -r requirements.txt
-
Run the app:
streamlit run streamlit_app.py
The app will be accessible through your web browser.