Commit
·
69e4f97
1
Parent(s):
a750766
Update Space URL references to open-finance-llm-8b
Browse files- Updated all test scripts to use new Space URL: jeanbaptdzd-open-finance-llm-8b.hf.space
- Space has been renamed from priips-llm-service to open-finance-llm-8b
- Updated git remote to point to renamed Space
test_service.py
CHANGED
|
@@ -9,7 +9,7 @@ import time
|
|
| 9 |
import os
|
| 10 |
from huggingface_hub import get_token
|
| 11 |
|
| 12 |
-
BASE_URL = "https://jeanbaptdzd-
|
| 13 |
|
| 14 |
# Get HF token for private Space access
|
| 15 |
HF_TOKEN = get_token()
|
|
|
|
| 9 |
import os
|
| 10 |
from huggingface_hub import get_token
|
| 11 |
|
| 12 |
+
BASE_URL = "https://jeanbaptdzd-open-finance-llm-8b.hf.space"
|
| 13 |
|
| 14 |
# Get HF token for private Space access
|
| 15 |
HF_TOKEN = get_token()
|
tests/performance/benchmark.py
CHANGED
|
@@ -11,7 +11,7 @@ from typing import List, Dict
|
|
| 11 |
import json
|
| 12 |
|
| 13 |
# Configuration
|
| 14 |
-
BASE_URL = "https://jeanbaptdzd-
|
| 15 |
# BASE_URL = "http://localhost:7860" # For local testing
|
| 16 |
|
| 17 |
|
|
|
|
| 11 |
import json
|
| 12 |
|
| 13 |
# Configuration
|
| 14 |
+
BASE_URL = "https://jeanbaptdzd-open-finance-llm-8b.hf.space"
|
| 15 |
# BASE_URL = "http://localhost:7860" # For local testing
|
| 16 |
|
| 17 |
|
tests/performance/test_inference_speed.py
CHANGED
|
@@ -9,7 +9,7 @@ import asyncio
|
|
| 9 |
from typing import List, Dict
|
| 10 |
|
| 11 |
# Test configuration
|
| 12 |
-
BASE_URL = "https://jeanbaptdzd-
|
| 13 |
# BASE_URL = "http://localhost:7860" # For local testing
|
| 14 |
|
| 15 |
@pytest.fixture
|
|
|
|
| 9 |
from typing import List, Dict
|
| 10 |
|
| 11 |
# Test configuration
|
| 12 |
+
BASE_URL = "https://jeanbaptdzd-open-finance-llm-8b.hf.space"
|
| 13 |
# BASE_URL = "http://localhost:7860" # For local testing
|
| 14 |
|
| 15 |
@pytest.fixture
|
tests/performance/test_openai_compatibility.py
CHANGED
|
@@ -8,7 +8,7 @@ from openai import OpenAI
|
|
| 8 |
import os
|
| 9 |
|
| 10 |
# Test configuration
|
| 11 |
-
BASE_URL = "https://jeanbaptdzd-
|
| 12 |
# BASE_URL = "http://localhost:7860" # For local testing
|
| 13 |
|
| 14 |
@pytest.fixture
|
|
|
|
| 8 |
import os
|
| 9 |
|
| 10 |
# Test configuration
|
| 11 |
+
BASE_URL = "https://jeanbaptdzd-open-finance-llm-8b.hf.space"
|
| 12 |
# BASE_URL = "http://localhost:7860" # For local testing
|
| 13 |
|
| 14 |
@pytest.fixture
|