Skip to content

Commit 9b0f6c4

Browse files
committed
sync
1 parent 57f6b7e commit 9b0f6c4

File tree

5 files changed

+180
-164
lines changed

5 files changed

+180
-164
lines changed

web/dist/assets/index-f34702e1.css renamed to web/dist/assets/index-08a9f7b7.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

web/dist/assets/index-72c42fda.js renamed to web/dist/assets/index-50d6fa6f.js

Lines changed: 158 additions & 158 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

web/dist/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66

77
<meta name="viewport" content="width=device-width, initial-scale=1.0">
88
<title>LoLLMS WebUI - Welcome</title>
9-
<script type="module" crossorigin src="/assets/index-72c42fda.js"></script>
10-
<link rel="stylesheet" href="/assets/index-f34702e1.css">
9+
<script type="module" crossorigin src="/assets/index-50d6fa6f.js"></script>
10+
<link rel="stylesheet" href="/assets/index-08a9f7b7.css">
1111
</head>
1212
<body>
1313
<div id="app"></div>

web/src/views/SettingsView.vue

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5733,8 +5733,24 @@ export default {
57335733
console.log("Constructing")
57345734
this.load_everything()
57355735
this.getSeviceVoices()
5736-
this.snd_input_devices = await axios.get("/get_snd_input_devices")
5737-
this.snd_output_devices = await axios.get("/get_snd_output_devices")
5736+
try{
5737+
console.log("Loading input devices list")
5738+
const response = await axios.get("/get_snd_input_devices")
5739+
console.log("response:", response)
5740+
console.log("response data : ", response.data)
5741+
this.snd_input_devices = response.data["device_names"]
5742+
}
5743+
catch{
5744+
console.log("Couldin't list input devices")
5745+
}
5746+
try{
5747+
console.log("Loading output devices list")
5748+
this.snd_output_devices = await axios.get("/get_snd_output_devices").data["device_names"]
5749+
}
5750+
catch{
5751+
console.log("Couldin't list output devices")
5752+
}
5753+
57385754
57395755
},
57405756
activated() {

0 commit comments

Comments
 (0)