Spaces:
Running
Running
A newer version of the Gradio SDK is available: 6.14.0
metadata
title: TinyModel1Space
emoji: π€
colorFrom: blue
colorTo: indigo
sdk: gradio
sdk_version: 5.49.1
app_file: app.py
pinned: false
TinyModel1Space
Universal Brain chat β natural-language routing, generative replies, FAQ RAG, SQLite memory, and TinyModel classification. Uses encoder HyperlinksSpace/TinyModel1 (see also model card).
- App URL: https://hyperlinksspace-tinymodel1space.hf.space
- Source: https://github.com/HyperlinksSpace/TinyModel
Secrets (recommended)
HF_TOKENβ read token so Hub model downloads are reliable (same as classic classifier Space).GOOGLE_CSE_API_KEYβ Google Cloud API key restricted to Custom Search API (enables/weband smart-route web search in chat).
Optional environment variables
HORIZON2_MODELβ Hugging Face id for the generative instruct model (default in code: SmolLM2-360M-Instruct if unset in image).GOOGLE_CSE_CXβ Programmable Search Engine id (cxfrom the PSE control panel); required together withGOOGLE_CSE_API_KEYfor web search.GOOGLE_CSE_NUMβ results per request, 1β10 (default 5).GOOGLE_CSE_SAFEβ optional safe-search level for Googlecse.list(e.g.off,active).
Note
First CPU start can take several minutes (downloads + two models). For faster UX, enable a GPU Space or a smaller HORIZON2_MODEL.