Spaces:
Running
Running
Download config.js from Ghada-99-Ragab/Islamic3: direct link, hf CLI and curl.
- Browser
- Download file 893 Bytes
-
https://huggingface.co/spaces/Ghada-99-Ragab/Islamic3/resolve/main/config.js
- Command line
-
hf download hf://spaces/Ghada-99-Ragab/Islamic3/config.js
-
curl -L -o config.js https://huggingface.co/spaces/Ghada-99-Ragab/Islamic3/resolve/main/config.js
893 Bytes
| /* Runtime configuration. Loaded before app.js. */ | |
| window.ICV_CONFIG = { | |
| /* "Ask then Verify" uses this pre-configured OpenAI (ChatGPT) client. | |
| WARNING: this file is public in a Static Space. Keep a small monthly spend limit on the key. */ | |
| OPENAI_API_KEY: "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", | |
| OPENAI_MODEL: "gpt-4o-mini", | |
| OPENAI_ENDPOINT: "https://api.openai.com/v1/chat/completions", | |
| /* Fine-tuned CAMeLBERT-MSA token classifier hosted on Hugging Face. | |
| Leave HF_MODEL_ID empty to run the in-browser simulation. */ | |
| HF_MODEL_ID: "", // e.g. "your-username/camelbert-msa-islamiceval-1a" | |
| HF_TOKEN: "", // optional, only for private models | |
| CACHE_VERSION: "v2", | |
| CACHE_MAX_ENTRIES: 40, | |
| PYODIDE_VERSION: "0.26.4" | |
| }; | |