Spaces:
Running
Running
Tecnhotron
commited on
Commit
·
f4d0a5c
1
Parent(s):
7471148
First
Browse files- __pycache__/test_api.cpython-313-pytest-8.3.5.pyc +0 -0
- requirements.txt +1 -0
- test_api.py +1 -1
__pycache__/test_api.cpython-313-pytest-8.3.5.pyc
ADDED
Binary file (9.08 kB). View file
|
|
requirements.txt
CHANGED
@@ -6,6 +6,7 @@ google-genai
|
|
6 |
python-dotenv
|
7 |
pydantic
|
8 |
Pillow
|
|
|
9 |
starlette
|
10 |
openai
|
11 |
pyvirtualdisplay
|
|
|
6 |
python-dotenv
|
7 |
pydantic
|
8 |
Pillow
|
9 |
+
lxml
|
10 |
starlette
|
11 |
openai
|
12 |
pyvirtualdisplay
|
test_api.py
CHANGED
@@ -8,7 +8,7 @@ import random
|
|
8 |
# Configure the OpenAI client to point to the local server.
|
9 |
# The API key is required by the library but not used by the local server.
|
10 |
client = OpenAI(
|
11 |
-
base_url="
|
12 |
api_key=os.environ.get("OPENAI_API_KEY", "sk-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx")
|
13 |
)
|
14 |
|
|
|
8 |
# Configure the OpenAI client to point to the local server.
|
9 |
# The API key is required by the library but not used by the local server.
|
10 |
client = OpenAI(
|
11 |
+
base_url="https://solarumasteridion-lenith.hf.space/",
|
12 |
api_key=os.environ.get("OPENAI_API_KEY", "sk-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx")
|
13 |
)
|
14 |
|