Update get_fn.py
Browse files
get_fn.py
CHANGED
@@ -8,7 +8,7 @@ def get_fn(model_name: str, preprocess: Callable, postprocess: Callable, api_key
|
|
8 |
def fn(message, history):
|
9 |
inputs = preprocess(message, history)
|
10 |
client = OpenAI(
|
11 |
-
base_url="https://api.
|
12 |
api_key=api_key,
|
13 |
)
|
14 |
try:
|
|
|
8 |
def fn(message, history):
|
9 |
inputs = preprocess(message, history)
|
10 |
client = OpenAI(
|
11 |
+
base_url="https://fast-cloud-snova-ai-dev-0-api.cloud.snova.ai/v1",
|
12 |
api_key=api_key,
|
13 |
)
|
14 |
try:
|