mirror of
https://github.com/HumanAIGC-Engineering/gradio-webrtc.git
synced 2026-02-05 18:09:23 +08:00
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:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user