Spaces:
Sleeping
Sleeping
carlosgonzalezmartinez
commited on
Commit
•
db268ae
1
Parent(s):
404cf99
updt
Browse files
app.py
CHANGED
@@ -36,13 +36,12 @@ from pathlib import Path
|
|
36 |
|
37 |
|
38 |
# Create Client
|
39 |
-
|
40 |
-
|
41 |
-
OpenAI__api_key = os.getenv('CarlosGM')
|
42 |
client = OpenAI(
|
43 |
-
|
|
|
44 |
)
|
45 |
|
|
|
46 |
model_name = 'gpt-3.5-turbo'
|
47 |
|
48 |
|
|
|
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 |
model_name = 'gpt-3.5-turbo'
|
46 |
|
47 |
|