ThejasRao commited on
Commit
c319a6d
Β·
1 Parent(s): 1fd990b

Fix: Readme

Browse files
Files changed (1) hide show
  1. README.md +9 -26
README.md CHANGED
@@ -1,8 +1,10 @@
1
- ```
2
  ---
3
  title: AgriPredict
4
  emoji: 🌾
 
 
5
  sdk: streamlit
 
6
  app_file: streamlit_app.py
7
  pinned: false
8
  ---
@@ -17,7 +19,6 @@ This version focuses on better structure, maintainability, and performance.
17
  ## πŸ“ Project Structure
18
 
19
  ```
20
-
21
  src/agri_predict/
22
  β”‚
23
  β”œβ”€β”€ config.py # Environment variables, MongoDB client setup
@@ -30,8 +31,7 @@ src/agri_predict/
30
 
31
  streamlit_app.py # Streamlit UI entrypoint
32
  requirements.txt # Python dependencies
33
-
34
- ````
35
 
36
  ---
37
 
@@ -42,7 +42,7 @@ requirements.txt # Python dependencies
42
  ```bash
43
  python -m venv .venv
44
  source .venv/bin/activate
45
- ````
46
 
47
  ### 2. Install dependencies:
48
 
@@ -68,30 +68,13 @@ streamlit run streamlit_app.py
68
 
69
  ## πŸš€ Deploy on Hugging Face Spaces
70
 
71
- This README already includes the required HF metadata block at the top:
72
-
73
- ```md
74
- ---
75
- title: AgriPredict
76
- emoji: 🌾
77
- sdk: streamlit
78
- app_file: streamlit_app.py
79
- pinned: false
80
- ---
81
- ```
82
-
83
- Hugging Face will automatically run:
84
 
85
  ```
86
  streamlit run streamlit_app.py
87
  ```
88
 
89
- No extra configuration needed.
90
-
91
- ---
92
-
93
- ## πŸ“¬ Contact
94
-
95
- If you face any issues deploying to Hugging Face, reach out or open an issue in the repository.
96
 
97
- ```
 
 
1
  ---
2
  title: AgriPredict
3
  emoji: 🌾
4
+ colorFrom: green
5
+ colorTo: yellow
6
  sdk: streamlit
7
+ sdk_version: "1.31.0"
8
  app_file: streamlit_app.py
9
  pinned: false
10
  ---
 
19
  ## πŸ“ Project Structure
20
 
21
  ```
 
22
  src/agri_predict/
23
  β”‚
24
  β”œβ”€β”€ config.py # Environment variables, MongoDB client setup
 
31
 
32
  streamlit_app.py # Streamlit UI entrypoint
33
  requirements.txt # Python dependencies
34
+ ```
 
35
 
36
  ---
37
 
 
42
  ```bash
43
  python -m venv .venv
44
  source .venv/bin/activate
45
+ ```
46
 
47
  ### 2. Install dependencies:
48
 
 
68
 
69
  ## πŸš€ Deploy on Hugging Face Spaces
70
 
71
+ This README already includes the required HF metadata block at the top.
72
+ Hugging Face Spaces will automatically run:
 
 
 
 
 
 
 
 
 
 
 
73
 
74
  ```
75
  streamlit run streamlit_app.py
76
  ```
77
 
78
+ No additional configuration is needed.
 
 
 
 
 
 
79
 
80
+ ---