Spaces:
Running
Running
Update playground.html
Browse files- playground.html +1 -1
playground.html
CHANGED
|
@@ -767,7 +767,7 @@ code.unblur-token:not(pre code) {
|
|
| 767 |
const res = await fetch('https://parthsadaria-lokiai.hf.space/models');
|
| 768 |
if (!res.ok) return console.error('❌ Failed to load models');
|
| 769 |
|
| 770 |
-
const models = await res.json();
|
| 771 |
const providers = {};
|
| 772 |
|
| 773 |
models?.forEach(m => {
|
|
|
|
| 767 |
const res = await fetch('https://parthsadaria-lokiai.hf.space/models');
|
| 768 |
if (!res.ok) return console.error('❌ Failed to load models');
|
| 769 |
|
| 770 |
+
const models = (await res.json()).data || [];
|
| 771 |
const providers = {};
|
| 772 |
|
| 773 |
models?.forEach(m => {
|