Spaces:
Sleeping
Sleeping
carlosgonzalezmartinez
commited on
Commit
•
23ce602
1
Parent(s):
65ac61e
app.py
CHANGED
@@ -36,15 +36,15 @@ from pathlib import Path
|
|
36 |
|
37 |
|
38 |
# Create Client
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
|
44 |
|
45 |
-
api_key = os.environ.get("CarlosGM")
|
46 |
|
47 |
-
client = OpenAI(api_key=api_key)
|
48 |
|
49 |
|
50 |
|
|
|
36 |
|
37 |
|
38 |
# Create Client
|
39 |
+
client = OpenAI(
|
40 |
+
base_url="https://api.endpoints.anyscale.com/v1",
|
41 |
+
api_key=os.environ.['CarlosGM']
|
42 |
+
)
|
43 |
|
44 |
|
45 |
+
#api_key = os.environ.get("CarlosGM")
|
46 |
|
47 |
+
#client = OpenAI(api_key=api_key)
|
48 |
|
49 |
|
50 |
|