← back to Exo
yapf formatting
8ee6cc3b0cd57a5b83f884d6f7e34db6afc25a55 · 2024-11-18 17:49:04 -0800 · cadenmackenzie
Files touched
Diff
commit 8ee6cc3b0cd57a5b83f884d6f7e34db6afc25a55
Author: cadenmackenzie <cadenmackenzie@gmail.com>
Date: Mon Nov 18 17:49:04 2024 -0800
yapf formatting
---
exo/tinychat/index.js | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/exo/tinychat/index.js b/exo/tinychat/index.js
index e64ce636..e56458f2 100644
--- a/exo/tinychat/index.js
+++ b/exo/tinychat/index.js
@@ -111,15 +111,15 @@ document.addEventListener("alpine:init", () => {
Array.from(sel.options).forEach(opt => {
const modelInfo = data["model pool"][opt.value];
if (modelInfo) {
- let displayText = modelInfo.name;
- if (modelInfo.download_percentage != null) {
- if (modelInfo.downloaded) {
- displayText += ' (downloaded)';
- } else {
- displayText += ` (${Math.round(modelInfo.download_percentage)}% downloaded)`;
- }
+ let displayText = modelInfo.name;
+ if (modelInfo.download_percentage != null) {
+ if (modelInfo.downloaded) {
+ displayText += ' (downloaded)';
+ } else {
+ displayText += ` (${Math.round(modelInfo.download_percentage)}% downloaded)`;
}
- opt.textContent = displayText;
+ }
+ opt.textContent = displayText;
}
});
} catch (error) {
← 91276ccd fixing formatting
·
back to Exo
·
yapf in download_file 0d50167d →