yichuan-huang commited on
Commit
d277fdc
Β·
1 Parent(s): 754ab42

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +14 -2
README.md CHANGED
@@ -21,7 +21,7 @@ Try the application live on Hugging Face Spaces!
21
 
22
  ## πŸ’‘ How it works
23
 
24
- The application uses a pre-trained Gemma3n(E2B) model to perform the image classification. The model has been fine-tuned on a dataset of waste images to accurately identify different materials. The disposal information is retrieved from a knowledge base within the application.
25
 
26
  ---
27
 
@@ -53,4 +53,16 @@ The application uses a pre-trained Gemma3n(E2B) model to perform the image class
53
  To start the application, run the following command:
54
 
55
  ```bash
56
- python app.py
 
 
 
 
 
 
 
 
 
 
 
 
 
21
 
22
  ## πŸ’‘ How it works
23
 
24
+ The application uses a pre-trained Gemma3n (E2B) model to perform the image classification. The model has been fine-tuned on a dataset of waste images to accurately identify different materials. The disposal information is retrieved from a knowledge base within the application.
25
 
26
  ---
27
 
 
53
  To start the application, run the following command:
54
 
55
  ```bash
56
+ python app.py
57
+ ```
58
+
59
+ This will launch a Gradio web server. You can access the application by opening the provided URL in your web browser.
60
+
61
+ ## πŸ“‚ Project Structure
62
+
63
+ * `app.py`: The main application file, containing the Gradio interface and the classification logic.
64
+ * `classifier.py`: Handles the image classification using the pre-trained model.
65
+ * `config.py`: Contains configuration settings for the application, such as the model name and labels.
66
+ * `knowledge_base.py`: A simple knowledge base containing disposal information for different waste materials.
67
+ * `requirements.txt`: A list of the Python dependencies required to run the application.
68
+ * `test_images/`: A directory containing sample images for testing the application.