File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -145,8 +145,11 @@ Required environment variables:
145145
146146Example:
147147``` bash
148- export API_BASE_URL=\" https://api.openai.com/v1\"
149- export MODEL_NAME=\" gpt-4o\"\n export HF_TOKEN=\" < your_key> \"\n export ENV_URL=\" http://localhost:8000\"\n python inference.py
148+ export API_BASE_URL=" https://api.openai.com/v1"
149+ export MODEL_NAME=" gpt-4o"
150+ export HF_TOKEN=" <your_key>"
151+ export ENV_URL=" http://localhost:8000"
152+ python inference.py
150153```
151154
152155## Test Results
@@ -155,6 +158,7 @@ Latest scenario test report:
155158
156159```
157160outputs/test_report.txt
161+ outputs/test_report_full.txt
158162```
159163
160164## Building the Docker Image
@@ -166,7 +170,13 @@ docker build -t shopOps-env:latest -f server/Dockerfile .
166170## Running Locally
167171
168172``` bash
169- uvicorn server.app:app --reload
173+ uvicorn shopOps.server.app:app --reload --host 0.0.0.0 --port 8000
174+ ```
175+
176+ Or:
177+
178+ ``` bash
179+ python -m shopOps.server.app
170180```
171181
172182## Deploying to Hugging Face Spaces
@@ -179,7 +189,7 @@ openenv push
179189
180190```
181191shopOps/
182- ├── openenv.yaml # OpenEnv manifest (includes schema_version)
192+ ├── openenv.yaml # OpenEnv manifest
183193├── client.py # ShopOpsEnv client
184194├── models.py # Action/observation models
185195├── eval.py # Baseline evaluation runner
You can’t perform that action at this time.
0 commit comments