kz919 commited on
Commit
b015fe9
1 Parent(s): cb844f9

Update get_fn.py

Browse files
Files changed (1) hide show
  1. get_fn.py +1 -1
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.sambanova.ai/v1/",
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: