Spaces:
Runtime error
Runtime error
| title: Intent Classifier | |
| emoji: 🤖 | |
| colorFrom: green | |
| colorTo: blue | |
| sdk: gradio | |
| sdk_version: 3.46.0 | |
| app_file: app.py | |
| pinned: false | |
| license: apache-2.0 | |
| # [Text Intent Classification](https://huggingface.co/spaces/xjlulu/intent_classifier) | |
| ## Introduction | |
| This demo is a Text Intent Classification system that uses a machine learning model to classify text into different intents or categories. You can enter a text, and the system will predict its category. | |
| ## Usage | |
| 1. Enter a text in the text box. | |
| 2. Click the "Submit" button to see the predicted intent or category. | |
| ## Getting Started | |
| Follow these steps to run the demo locally on your machine: | |
| 1. Clone this repository to your local machine: | |
| ```shell | |
| git clone https://github.com/yourusername/text-intent-classification-demo.git | |
| cd text-intent-classification-demo | |
| ``` | |
| 2. Install the required dependencies listed in the `requirements.txt` file using pip: | |
| ```shell | |
| pip install -r requirements.txt | |
| ``` | |
| 3. Run the `app.py` file using Python: | |
| ```shell | |
| python app.py | |
| ``` | |
| This will start the local server for the demo. | |
| ## Environment | |
| ```shell | |
| # If you have conda, we recommend creating a conda environment called "intent" | |
| make | |
| conda activate intent | |
| pip install -r requirements.txt | |
| # Otherwise | |
| pip install -r requirements.in | |
| ``` | |
| ## Configuration | |
|  | |
|  | |
| ## Contact | |
| If you have any questions, feedback, or issues, please feel free to[contact us](xjlu@proton.me). |