Skip to content

Commit 76b974e

Browse files
authored
Merge pull request #2222 from oracle-devrel/matz-e-patch-1
Fix SAM README formatting
2 parents 51ae63b + 46b5625 commit 76b974e

File tree

1 file changed

+16
-18
lines changed
  • ai/ai-vision/ai-vision-and-sam/files

1 file changed

+16
-18
lines changed

ai/ai-vision/ai-vision-and-sam/files/README.md

Lines changed: 16 additions & 18 deletions
Original file line numberDiff line numberDiff 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
2424
1. 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+
```
3332
2. 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+
```
3836
3. 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+
```
4543
4. Run the application using `streamlit run app.py`.
4644

4745
## Technical Details

0 commit comments

Comments
 (0)