mirror of
https://github.com/hoshikawa2/openclaw-oci-pptx.git
synced 2026-03-11 16:05:02 +00:00
Compare commits
4 Commits
612fb30af6
...
908bf8c84c
| Author | SHA1 | Date | |
|---|---|---|---|
| 908bf8c84c | |||
| 7749bcdb9f | |||
| c430671938 | |||
| 761606f5d1 |
11
.gitignore
vendored
Normal file
11
.gitignore
vendored
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
/project/images/
|
||||||
|
/project/sdxl_lora/
|
||||||
|
/project/icons_out.zip
|
||||||
|
/OpenClaw with OCI OpenAI Proxy DEMO.mov
|
||||||
|
/OpenClaw with OCI OpenAI Proxy DEMO-Apple Devices HD (Best Quality).m4v
|
||||||
|
/project/extracted_icons/
|
||||||
|
/project/icons/
|
||||||
|
/project/dataset/
|
||||||
|
/project/icons_out/
|
||||||
|
/project/icons/
|
||||||
|
/project/extracted_icons/
|
||||||
@@ -381,6 +381,10 @@ By putting an OpenAI-compatible API in front of OCI, you get:
|
|||||||
- ✅ Streaming compatibility (simulated if OCI returns full text)
|
- ✅ Streaming compatibility (simulated if OCI returns full text)
|
||||||
- ✅ Governance inside your tenancy
|
- ✅ Governance inside your tenancy
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
## Requirements
|
## Requirements
|
||||||
|
|||||||
BIN
images/img_11.png
Normal file
BIN
images/img_11.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 159 KiB |
BIN
images/img_12.png
Normal file
BIN
images/img_12.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 233 KiB |
@@ -22,10 +22,10 @@ import requests
|
|||||||
|
|
||||||
OCI_CONFIG_FILE = os.getenv("OCI_CONFIG_FILE", os.path.expanduser("~/.oci/config"))
|
OCI_CONFIG_FILE = os.getenv("OCI_CONFIG_FILE", os.path.expanduser("~/.oci/config"))
|
||||||
OCI_PROFILE = os.getenv("OCI_PROFILE", "DEFAULT")
|
OCI_PROFILE = os.getenv("OCI_PROFILE", "DEFAULT")
|
||||||
OCI_COMPARTMENT_ID = os.getenv("OCI_COMPARTMENT_ID", "<YOUR_COMPARTMENT_ID>")
|
OCI_COMPARTMENT_ID = os.getenv("OCI_COMPARTMENT_ID", "ocid1.compartment.oc1..aaaaaaaaexpiw4a7dio64mkfv2t273s2hgdl6mgfvvyv7tycalnjlvpvfl3q")
|
||||||
OCI_GENAI_ENDPOINT = os.getenv(
|
OCI_GENAI_ENDPOINT = os.getenv(
|
||||||
"OCI_GENAI_ENDPOINT",
|
"OCI_GENAI_ENDPOINT",
|
||||||
"https://inference.generativeai.<region>.oci.oraclecloud.com"
|
"https://inference.generativeai.us-chicago-1.oci.oraclecloud.com"
|
||||||
)
|
)
|
||||||
if not OCI_COMPARTMENT_ID:
|
if not OCI_COMPARTMENT_ID:
|
||||||
raise RuntimeError("OCI_COMPARTMENT_ID not defined")
|
raise RuntimeError("OCI_COMPARTMENT_ID not defined")
|
||||||
|
|||||||
21
requirements.txt
Normal file
21
requirements.txt
Normal file
@@ -0,0 +1,21 @@
|
|||||||
|
fastapi
|
||||||
|
uvicorn
|
||||||
|
gunicorn
|
||||||
|
pydantic
|
||||||
|
requests
|
||||||
|
httpx
|
||||||
|
python-dotenv
|
||||||
|
oci
|
||||||
|
openai
|
||||||
|
diffusers
|
||||||
|
transformers
|
||||||
|
accelerate
|
||||||
|
safetensors
|
||||||
|
torch
|
||||||
|
python-pptx
|
||||||
|
pillow
|
||||||
|
orjson
|
||||||
|
tenacity
|
||||||
|
tqdm
|
||||||
|
xformers
|
||||||
|
nms
|
||||||
Reference in New Issue
Block a user