Update cell summary.py
This commit is contained in:
parent
c10f528d8a
commit
2f25ca9da1
@ -18,7 +18,7 @@ def summarize_text(text):
|
||||
"""Send text to Ollama for summarization"""
|
||||
payload = {
|
||||
"model": "mistral:latest", # Change model if needed
|
||||
"prompt": f"Summarize the following text:\n\n{text}",
|
||||
"prompt": f"Hãy nêu những ý chính trong nội dung sau:\n\n{text}",
|
||||
"stream": False
|
||||
}
|
||||
response = requests.post(OLLAMA_URL, json=payload)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user