mirror of
https://github.com/aljazceru/Auto-GPT.git
synced 2025-12-17 22:14:28 +01:00
Use load_dotenv() in chat.py and speak.py.
This commit is contained in:
@@ -1,8 +1,12 @@
|
||||
import os
|
||||
from playsound import playsound
|
||||
import requests
|
||||
from dotenv import load_dotenv
|
||||
|
||||
|
||||
# Load environment variables from .env file
|
||||
load_dotenv()
|
||||
|
||||
voices = ["ErXwobaYiN019PkySvjV", "EXAVITQu4vr4xnSDxMaL"]
|
||||
|
||||
tts_headers = {
|
||||
|
||||
Reference in New Issue
Block a user