Spaces:
Runtime error
Runtime error
Update main.py
Browse files
main.py
CHANGED
@@ -21,7 +21,8 @@ llm = HuggingFaceHub(repo_id=repo_id, # for StarChat
|
|
21 |
"temperature": 0.01,
|
22 |
"top_k": 50,
|
23 |
"top_p": 0.95, "eos_token_id": 49155})
|
24 |
-
chain = load_summarize_chain(llm, chain_type="stuff")
|
|
|
25 |
|
26 |
app = FastAPI()
|
27 |
|
|
|
21 |
"temperature": 0.01,
|
22 |
"top_k": 50,
|
23 |
"top_p": 0.95, "eos_token_id": 49155})
|
24 |
+
#chain = load_summarize_chain(llm, chain_type="stuff")
|
25 |
+
chain = load_summarize_chain(llm, chain_type="refine")
|
26 |
|
27 |
app = FastAPI()
|
28 |
|