v1
Browse files
app.py
CHANGED
@@ -3,8 +3,7 @@ from huggingface_hub import InferenceClient
|
|
3 |
from typing import List, Dict, Optional
|
4 |
|
5 |
# Your endpoint root (no trailing /v1 here; the client adds it for chat)
|
6 |
-
ENDPOINT_URL = "https://x6leavj4hgm2fdyx.us-east-2.aws.endpoints.huggingface.cloud"
|
7 |
-
|
8 |
def respond(
|
9 |
user_msg: str,
|
10 |
history: List[Dict[str, str]],
|
|
|
3 |
from typing import List, Dict, Optional
|
4 |
|
5 |
# Your endpoint root (no trailing /v1 here; the client adds it for chat)
|
6 |
+
ENDPOINT_URL = "https://x6leavj4hgm2fdyx.us-east-2.aws.endpoints.huggingface.cloud/v1/"
|
|
|
7 |
def respond(
|
8 |
user_msg: str,
|
9 |
history: List[Dict[str, str]],
|