Skip to content

Commit

Permalink
sync
Browse files Browse the repository at this point in the history
  • Loading branch information
ParisNeo committed May 20, 2024
1 parent 57f6b7e commit 9b0f6c4
Show file tree
Hide file tree
Showing 5 changed files with 180 additions and 164 deletions.
2 changes: 1 addition & 1 deletion lollms_core

Large diffs are not rendered by default.

316 changes: 158 additions & 158 deletions web/dist/assets/index-72c42fda.js → web/dist/assets/index-50d6fa6f.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions web/dist/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@

<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>LoLLMS WebUI - Welcome</title>
<script type="module" crossorigin src="/assets/index-72c42fda.js"></script>
<link rel="stylesheet" href="/assets/index-f34702e1.css">
<script type="module" crossorigin src="/assets/index-50d6fa6f.js"></script>
<link rel="stylesheet" href="/assets/index-08a9f7b7.css">
</head>
<body>
<div id="app"></div>
Expand Down
20 changes: 18 additions & 2 deletions web/src/views/SettingsView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5733,8 +5733,24 @@ export default {
console.log("Constructing")
this.load_everything()
this.getSeviceVoices()
this.snd_input_devices = await axios.get("/get_snd_input_devices")
this.snd_output_devices = await axios.get("/get_snd_output_devices")
try{
console.log("Loading input devices list")
const response = await axios.get("/get_snd_input_devices")
console.log("response:", response)
console.log("response data : ", response.data)
this.snd_input_devices = response.data["device_names"]
}
catch{
console.log("Couldin't list input devices")
}
try{
console.log("Loading output devices list")
this.snd_output_devices = await axios.get("/get_snd_output_devices").data["device_names"]
}
catch{
console.log("Couldin't list output devices")
}
},
activated() {
Expand Down

0 comments on commit 9b0f6c4

Please sign in to comment.