| import type { Config } from "./Config"; | |
| export async function getConfig(modelName: string): Promise<Config> { | |
| const configUrl = `https://huggingface.co/datasets/dylanebert/3d-arena/resolve/main/outputs/${modelName}/config.json`; | |
| const configResponse = await fetch(configUrl); | |
| const config = await configResponse.json(); | |
| return config; | |
| } | |