mirror of
https://github.com/w-okada/voice-changer.git
synced 2025-03-14 20:03:59 +03:00
Improve: server info include python info
This commit is contained in:
parent
1367bbb611
commit
099f82cc60
@ -1,5 +1,6 @@
|
|||||||
import json
|
import json
|
||||||
import os
|
import os
|
||||||
|
import sys
|
||||||
import shutil
|
import shutil
|
||||||
import threading
|
import threading
|
||||||
import numpy as np
|
import numpy as np
|
||||||
@ -169,6 +170,7 @@ class VoiceChangerManager(ServerDeviceCallbacks):
|
|||||||
data["gpus"] = self.gpus
|
data["gpus"] = self.gpus
|
||||||
data["modelSlots"] = self.modelSlotManager.getAllSlotInfo(reload=True)
|
data["modelSlots"] = self.modelSlotManager.getAllSlotInfo(reload=True)
|
||||||
data["sampleModels"] = getSampleInfos(self.params.sample_mode)
|
data["sampleModels"] = getSampleInfos(self.params.sample_mode)
|
||||||
|
data["python"] = sys.version
|
||||||
|
|
||||||
data["status"] = "OK"
|
data["status"] = "OK"
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user