fix: Close missing parenthesis in `app.py`

Co-authored-by: aider (ollama/qwen2.5-coder:7b) <aider@aider.chat>
This commit is contained in:
DFFM-maker 2025-12-25 18:27:39 +01:00
parent d8ca9bab31
commit c48c0330a0
1 changed files with 1 additions and 1 deletions

2
app.py
View File

@ -54,7 +54,7 @@ async def connect_to_qdrant():
async def get_embeddings(text): async def get_embeddings(text):
import ollama import ollama
client = ollama.Client(host=os.getenv('OLLAMA_HOST', '192.168.1.243'), port=int(os.getenv('OLLAMA_PORT', 11434)) client = ollama.Client(host=os.getenv('OLLAMA_HOST', '192.168.1.243'), port=int(os.getenv('OLLAMA_PORT', 11434)))
response = client.embed(model='nomic-embed-text', input=text) response = client.embed(model='nomic-embed-text', input=text)
return response['embedding'] return response['embedding']