conzchunglfxsdu
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -55,7 +55,7 @@ def format_history(history: List[Tuple[str, str]]) -> List[Tuple[str, str]]:
|
|
55 |
return [(user_input, response) for user_input, response in history]
|
56 |
|
57 |
async def call_inference(user_prompt):
|
58 |
-
endpoint_url = "https://
|
59 |
llm = HuggingFaceEndpoint(endpoint_url=endpoint_url,
|
60 |
max_new_tokens=2000,
|
61 |
temperature=0.1,
|
|
|
55 |
return [(user_input, response) for user_input, response in history]
|
56 |
|
57 |
async def call_inference(user_prompt):
|
58 |
+
endpoint_url = "https://rn65ru6q35e05iu0.us-east-1.aws.endpoints.huggingface.cloud"
|
59 |
llm = HuggingFaceEndpoint(endpoint_url=endpoint_url,
|
60 |
max_new_tokens=2000,
|
61 |
temperature=0.1,
|