-
Notifications
You must be signed in to change notification settings - Fork 1
/
requirements
52 lines (37 loc) · 1.17 KB
/
requirements
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
## MAIN INFO ##
pagistart kay create mo new environment didto idagan
## How to Create Environment : Run sa Terminal##
python -m venv nameofENV
Pang activate:
WIN : myenv\Scripts\activate
LINUX/OS: source myenv/bin/activate
if gagamit ka'g CONDA:
conda create --name myenv
conda create --name myenv python=3.9 -- pang specify
Pang activate:
conda activate myenv
## Needed To DO in the terminal ##
pip install google-generativeai streamlit python-dotenv langdetect nltk
## Version Needed ##
python 3.9+ daw dapat
python --version
version nko is : Python 3.12
since public atong gHub Repo :
- create ".env" file
- create API_KEY = "your-api-key"
## CONSOLE BASED INFO ##
Irun ni before ang main.py IF using console :
Powershell:
$env:API_KEY = "AIzaSyCGbLiMDDcKDuCZz2tB4KzMRVUseZva_oI"
pero kung cmd ka kay
set API_KEY=AIzaSyCGbLiMDDcKDuCZz2tB4KzMRVUseZva_oI
ani ka magrun (for the console):
python main.py
## ADDITIONAL INFO ##
kita nyo yang .gitignore:
change mo lang into the folder of ur environment.
In my case, AdBot.
## GUI INFO ##
To run:
strealit run file/path
eg: streamlit run d:/AdmissionBot/admissionBot/main.py