mirror of
https://github.com/ParisNeo/lollms-webui.git
synced 2024-12-18 20:17:50 +00:00
fixed
This commit is contained in:
parent
ea5145a668
commit
a29e637da6
@ -488,7 +488,7 @@ class LoLLMsAPPI(LollmsApplication):
|
|||||||
file_path = path / data["filename"]
|
file_path = path / data["filename"]
|
||||||
File64BitsManager.b642file(data["fileData"],file_path)
|
File64BitsManager.b642file(data["fileData"],file_path)
|
||||||
if self.personality.processor:
|
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',
|
self.socketio.emit('file_received',
|
||||||
{
|
{
|
||||||
|
@ -144,7 +144,7 @@ else
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ "${gpuchoice^^}" == "B" ]]; then
|
if [[ "${gpuchoice^^}" == "B" ]]; then
|
||||||
echo "This is a .no_gpu file." > ../.no_gpu
|
echo "This is a .no_gpu file." > .no_gpu
|
||||||
else
|
else
|
||||||
echo "GPU is enabled, no .no_gpu file will be created."
|
echo "GPU is enabled, no .no_gpu file will be created."
|
||||||
fi
|
fi
|
||||||
|
@ -141,7 +141,7 @@ else
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ "${gpuchoice^^}" == "B" ]]; then
|
if [[ "${gpuchoice^^}" == "B" ]]; then
|
||||||
echo "This is a .no_gpu file." > ../.no_gpu
|
echo "This is a .no_gpu file." > .no_gpu
|
||||||
else
|
else
|
||||||
echo "GPU is enabled, no .no_gpu file will be created."
|
echo "GPU is enabled, no .no_gpu file will be created."
|
||||||
fi
|
fi
|
||||||
|
@ -126,7 +126,7 @@ setlocal enabledelayedexpansion
|
|||||||
|
|
||||||
|
|
||||||
if /I "%gpuchoice%"=="B" (
|
if /I "%gpuchoice%"=="B" (
|
||||||
echo This is a .no_gpu file. > ..\.no_gpu
|
echo This is a .no_gpu file. > .no_gpu
|
||||||
) else (
|
) else (
|
||||||
echo GPU is enabled, no .no_gpu file will be created.
|
echo GPU is enabled, no .no_gpu file will be created.
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user