Spaces:
Sleeping
Sleeping
jeevan
commited on
Commit
·
f4ae443
1
Parent(s):
ecadaa8
fix env var ref
Browse files
app.py
CHANGED
@@ -51,7 +51,7 @@ Context:
|
|
51 |
"""
|
52 |
text_splitter = RecursiveCharacterTextSplitter(chunk_size=1000, chunk_overlap=100)
|
53 |
hf_llm = HuggingFaceEndpoint(
|
54 |
-
endpoint_url=
|
55 |
max_new_tokens=512,
|
56 |
top_k=10,
|
57 |
top_p=0.95,
|
|
|
51 |
"""
|
52 |
text_splitter = RecursiveCharacterTextSplitter(chunk_size=1000, chunk_overlap=100)
|
53 |
hf_llm = HuggingFaceEndpoint(
|
54 |
+
endpoint_url=os.environ["YOUR_LLM_ENDPOINT_URL"],
|
55 |
max_new_tokens=512,
|
56 |
top_k=10,
|
57 |
top_p=0.95,
|