File tree Expand file tree Collapse file tree 1 file changed +16
-16
lines changed
ai/ai-vision/ai-vision-and-sam/files Expand file tree Collapse file tree 1 file changed +16
-16
lines changed Original file line number Diff line number Diff line change @@ -22,24 +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- ```
26- python --version
27- ```
28- or
29- ```
30- python3 --version
31- ```
25+ ```
26+ python --version
27+ ```
28+ or
29+ ```
30+ python3 --version
31+ ```
32322 . Install the requirements from ` requirements.txt ` file.
33- ```
34- pip install -r /path/to/requirements.txt
35- ```
33+ ```
34+ pip install -r /path/to/requirements.txt
35+ ```
36363 . Update the ` .config ` file with your own ` CONFIG_FILE_PATH ` and ` COMPARTMENT_ID ` :
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- ```
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+ ```
43434 . Run the application using ` streamlit run app.py ` .
4444
4545## Technical Details
You can’t perform that action at this time.
0 commit comments