feat : update .cmd services & requirements.txt

This commit is contained in:
martin legrand 2025-04-16 14:37:45 +02:00
parent 153bd21910
commit f2eda0e7d7
4 changed files with 30 additions and 9 deletions

2
.gitignore vendored
View File

@ -9,6 +9,8 @@ test_agent.py
config.ini
.voices/
experimental/
.screenshots/*.png
.screenshots/*.jpg
conversations/
agentic_env/*
.env

View File

@ -1,5 +1,6 @@
fastapi>=0.115.12
celery==5.5.1
flask>=3.1.0
celery>=5.5.1
aiofiles>=24.1.0
uvicorn>=0.34.0
pydantic>=2.10.6
@ -34,14 +35,13 @@ httpx>=0.27,<0.29
anyio>=3.5.0,<5
distro>=1.7.0,<2
jiter>=0.4.0,<1
sniffio
tqdm>4
fake_useragent>=2.1.0
selenium_stealth>=1.0.6
undetected-chromedriver>=3.5.5
sentencepiece>=0.2.0
# for api provider
openai
sniffio
tqdm>4
# if use chinese
ordered_set
pypinyin

View File

@ -15,8 +15,16 @@ setup(
packages=find_packages(),
include_package_data=True,
install_requires=[
"fastapi>=0.115.12",
"celery>=5.5.1",
"uvicorn>=0.34.0",
"flask>=3.1.0",
"aiofiles>=24.1.0",
"pydantic>=2.10.6",
"pydantic_core>=2.27.2",
"requests>=2.31.0",
"openai",
"sacremoses>=0.0.53",
"numpy>=1.24.4",
"colorama>=0.4.6",
"python-dotenv>=1.0.0",
"playsound>=1.3.0",
@ -26,7 +34,6 @@ setup(
"ollama>=0.4.7",
"scipy>=1.9.3",
"kokoro>=0.7.12",
"flask>=3.1.0",
"protobuf>=3.20.3",
"termcolor>=2.5.0",
"ipython>=8.34.0",
@ -35,8 +42,9 @@ setup(
"markdownify>=1.1.0",
"text2emotion>=0.0.5",
"python-dotenv>=1.0.0",
"langid>=1.1.6",
"adaptive-classifier>=0.0.10",
"langid>=1.1.6",
"chromedriver-autoinstaller>=0.6.4",
"httpx>=0.27,<0.29",
"anyio>=3.5.0,<5",
"distro>=1.7.0,<2",
@ -45,6 +53,7 @@ setup(
"selenium_stealth>=1.0.6",
"undetected-chromedriver>=3.5.5",
"sentencepiece>=0.2.0",
"openai",
"sniffio",
"tqdm>4"
],

View File

@ -3,5 +3,15 @@
REM Up the provider in windows
start ollama serve
REM Up Docker
cd searxng && docker compose up
timeout /t 4 /nobreak >nul
for /f "tokens=*" %%i in ('docker ps -a -q') do docker stop %%i
echo All containers stopped
docker-compose up
if %ERRORLEVEL% neq 0 (
echo Error: Failed to start containers. Check Docker logs with 'docker compose logs'.
echo Possible fixes: Ensure Docker Desktop is running or check if port 8080 is free.
exit /b 1
)
timeout /t 10 /nobreak >nul