diff --git a/api/__init__.py b/api/__init__.py index aea4bc3c..0eee57fa 100644 --- a/api/__init__.py +++ b/api/__init__.py @@ -488,7 +488,7 @@ class LoLLMsAPPI(LollmsApplication): file_path = path / data["filename"] File64BitsManager.b642file(data["fileData"],file_path) if self.personality.processor: - self.personality.processor.add_file(file_path, self.process_chunk) + self.personality.processor.add_file(file_path, partial(self.process_chunk, client_id=client_id)) self.socketio.emit('file_received', { diff --git a/linux_install.sh b/linux_install.sh index e9b2afe8..b45f0526 100644 --- a/linux_install.sh +++ b/linux_install.sh @@ -144,7 +144,7 @@ else fi if [[ "${gpuchoice^^}" == "B" ]]; then - echo "This is a .no_gpu file." > ../.no_gpu + echo "This is a .no_gpu file." > .no_gpu else echo "GPU is enabled, no .no_gpu file will be created." fi diff --git a/macos_install.sh b/macos_install.sh index c3eb01a0..c946df13 100644 --- a/macos_install.sh +++ b/macos_install.sh @@ -141,7 +141,7 @@ else fi if [[ "${gpuchoice^^}" == "B" ]]; then - echo "This is a .no_gpu file." > ../.no_gpu + echo "This is a .no_gpu file." > .no_gpu else echo "GPU is enabled, no .no_gpu file will be created." fi diff --git a/win_install.bat b/win_install.bat index 3776c461..dbfd8b16 100644 --- a/win_install.bat +++ b/win_install.bat @@ -126,7 +126,7 @@ setlocal enabledelayedexpansion if /I "%gpuchoice%"=="B" ( - echo This is a .no_gpu file. > ..\.no_gpu + echo This is a .no_gpu file. > .no_gpu ) else ( echo GPU is enabled, no .no_gpu file will be created. )