Added Script to use Ollama and run locally (#111)

* Uses Ollama / Qwen 2.5 to run voice activity locally

* git push origin test

* format

---------

Co-authored-by: easytop <jgwoodward@ymail.com>
Co-authored-by: Freddy Boulton <freddyboulton@hf-freddy.local>
This commit is contained in:
EasyTop
2025-03-02 15:10:31 -08:00
committed by GitHub
parent e6193b0d05
commit 25c2152304
2 changed files with 130 additions and 4 deletions

View File

@@ -1,15 +1,15 @@
from pathlib import Path
from typing import List, Dict
from typing import Dict, List
from dotenv import load_dotenv
from fastrtc import (
ReplyOnPause,
Stream,
get_stt_model,
get_tts_model,
Stream,
ReplyOnPause,
get_twilio_turn_credentials,
)
from smolagents import CodeAgent, HfApiModel, DuckDuckGoSearchTool
from smolagents import CodeAgent, DuckDuckGoSearchTool, HfApiModel
# Load environment variables
load_dotenv()