Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/mlco2/codecarbon
/ ollama_local_api.py
File
ollama_local_api.py
examples/ollama_local_api.py:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
""
"
2
This example demonstrates how to use the OLLAMA API locally.
3
Install it by following the instructions :
4
Callers
nothing calls this directly
Calls
5
EmissionsTracker
Class · 0.90
extract_text_from_url
Function · 0.85
call_ollama_api
Function · 0.85
start
Method · 0.45
stop
Method · 0.45
Tested by
no test coverage detected