File tree Expand file tree Collapse file tree 1 file changed +16
-18
lines changed
ai/ai-vision/ai-vision-and-sam/files Expand file tree Collapse file tree 1 file changed +16
-18
lines changed Original file line number Diff line number Diff line change @@ -22,26 +22,24 @@ You would need some space and at least a CPU with 300MB of memory, for `sam2.1-h
2222
2323## Setup
24241 . Install Python (this project requires Python 3.13.5 or later). You can check your current Python version by running:
25- </br >
26- ```
27- python --version
28- ```
29- or
30- ```
31- python3 --version
32- ```
25+ ```
26+ python --version
27+ ```
28+ or
29+ ```
30+ python3 --version
31+ ```
33322 . Install the requirements from ` requirements.txt ` file.
34- </br >
35- ```
36- pip install -r /path/to/requirements.txt
37- ```
33+ ```
34+ pip install -r /path/to/requirements.txt
35+ ```
38363 . Update the ` .config ` file with your own ` CONFIG_FILE_PATH ` and ` COMPARTMENT_ID ` :
39- ```
40- CONFIG_FILE_PATH = <path_to_oci_login_config_file>
41- COMPARTMENT_ID = <compartment_OCID>
42- # Change the endpoint to match your account's region
43- ENDPOINT = "https://inference.generativeai.eu-frankfurt-1.oci.oraclecloud.com"
44- ```
37+ ```
38+ CONFIG_FILE_PATH = <path_to_oci_login_config_file>
39+ COMPARTMENT_ID = <compartment_OCID>
40+ # Change the endpoint to match your account's region
41+ ENDPOINT = "https://inference.generativeai.eu-frankfurt-1.oci.oraclecloud.com"
42+ ```
45434 . Run the application using ` streamlit run app.py ` .
4644
4745## Technical Details
You can’t perform that action at this time.
0 commit comments