This commit is contained in:
saloui 2023-08-04 16:09:22 +02:00
parent ea5145a668
commit a29e637da6
4 changed files with 4 additions and 4 deletions

View File

@ -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',
{

View File

@ -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

View File

@ -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

View File

@ -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.
)