Framework · Python
Skeram for Streamlit and Gradio
Streamlit and Gradio apps are scripts, not routers. Skeram treats each page or interface as a route and knows when users bring their own keys.
What Skeram reads
| Routes | Listed by code: the main script and each Streamlit page (pages/ folder) or Gradio interface becomes a route. Chainlit message handlers are listed the same way. |
|---|---|
| AI calls | Model calls are found by code as for any Python app. When the app asks for the user's API key in the interface, the calls are recorded as paid by the user, not by you, and the stored-key finding doesn't apply because nothing is stored. |
| Data | Whatever the script imports: vector stores, databases and caches. |
| Background jobs | Usually none; the script runs per session. |
| Hosting | A Hugging Face Space (README frontmatter) or a Streamlit Community Cloud app is priced at $0 while one free container can hold the traffic, then as paid hosting. |
“Listed by code” means found by plain code before any model is involved, so the same repository always gives the same list. Everything else is read by one model call from the files Skeram selects, and every claim must cite a file and line that exists. How the analysis works.
What it flags most in Streamlit and Gradio apps
- LLM calls with no output cap: Demo apps rarely cap output, which matters once they run on your key.
Known limits
- Free hosts' real limits (memory, sleeping when idle) aren't modelled; the free tier is assumed to hold one container's worth of traffic.
Price your Streamlit and Gradio app
Paste a public GitHub link, a folder link inside a monorepo, or upload private code with the CLI.