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