Spaces:
Sleeping
Sleeping
A newer version of the Gradio SDK is available:
5.29.0
metadata
title: AiAssistant
emoji: π
colorFrom: purple
colorTo: blue
sdk: gradio
sdk_version: 5.23.1
app_file: app.py
pinned: false
license: apache-2.0
short_description: AiAssistant
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
Customer Support Chatbot
A beautiful chatbot built using DialoGPT-medium and the Victorano/customer-support-1k dataset. The chatbot features a clean and modern Gradio interface with conversation history support.
Features
- Powered by DialoGPT-medium model
- Clean and modern Gradio interface
- Conversation history within the same session
- Copy button for messages
- Bot avatar using DiceBear API
- Responsive design
Setup
- Install the required dependencies:
pip install -r requirements.txt
- Run the application:
python app.py
Deployment on Hugging Face Spaces
- Create a new Space on Hugging Face
- Choose "Gradio" as the SDK
- Upload these files to your Space:
- app.py
- requirements.txt
- README.md
The Space will automatically build and deploy your chatbot.
Usage
- Type your message in the text input box
- Press Enter or click the Send button
- The chatbot will generate a response based on your input
- The conversation history will be maintained in the chat window
- You can copy any message using the copy button that appears on hover
Model Details
- Model: microsoft/DialoGPT-medium
- Dataset: Victorano/customer-support-1k
- Generation Parameters:
- max_length: 1000
- temperature: 0.7
- top_k: 50
- top_p: 0.9