Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -11,7 +11,7 @@ FIXED_MAX_TOKENS = 99999 # Note: This is a very high value, typical values are m
|
|
11 |
# --- Initialize the InferenceClient ---
|
12 |
# For custom OpenAI-compatible APIs, initialize the InferenceClient with the base URL.
|
13 |
# The specific model will be specified in the API call (e.g., chat_completion).
|
14 |
-
API_BASE_URL = "https://
|
15 |
|
16 |
try:
|
17 |
# Initialize the client with the base URL of your API.
|
|
|
11 |
# --- Initialize the InferenceClient ---
|
12 |
# For custom OpenAI-compatible APIs, initialize the InferenceClient with the base URL.
|
13 |
# The specific model will be specified in the API call (e.g., chat_completion).
|
14 |
+
API_BASE_URL = "https://c9c0-69-58-93-175.ngrok-free.app/v1/chat/completions" # Base URL for the custom API
|
15 |
|
16 |
try:
|
17 |
# Initialize the client with the base URL of your API.
|