Delete config.py
Browse files
config.py
DELETED
@@ -1,25 +0,0 @@
|
|
1 |
-
import os
|
2 |
-
import logging
|
3 |
-
from dotenv import load_dotenv
|
4 |
-
|
5 |
-
# Configure logging
|
6 |
-
logging.basicConfig(level=logging.INFO)
|
7 |
-
logger = logging.getLogger(__name__)
|
8 |
-
|
9 |
-
# Load environment variables
|
10 |
-
load_dotenv()
|
11 |
-
token = os.getenv("hf_key")
|
12 |
-
|
13 |
-
# Set compute device (cpu/cuda)
|
14 |
-
device = "cpu"
|
15 |
-
logger.info(f"Device set to use {device}")
|
16 |
-
|
17 |
-
# AI Assistant Configuration
|
18 |
-
SYSTEM_PROMPT = """You are ConversAI, a helpful AI assistant who remembers conversation history. Keep responses clear, friendly and natural. Always refer to previous context when responding."""
|
19 |
-
|
20 |
-
# Text-to-Speech Voice Settings (primary/backup)
|
21 |
-
VOICE = "en-US-JennyNeural"
|
22 |
-
FALLBACK_VOICES = ["en-US-ChristopherNeural", "en-US-EricNeural"]
|
23 |
-
|
24 |
-
# Audio Output Configuration
|
25 |
-
OUTPUT_FORMAT = "audio-24khz-48kbit-mono-mp3"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|