Spaces:
Build error
Build error
Update agent_functions.py
Browse files- agent_functions.py +2 -0
agent_functions.py
CHANGED
|
@@ -3,11 +3,13 @@
|
|
| 3 |
import pandas as pd
|
| 4 |
from reportlab.lib.pagesizes import letter
|
| 5 |
from reportlab.pdfgen import canvas
|
|
|
|
| 6 |
import openai
|
| 7 |
import tempfile
|
| 8 |
from google.cloud import texttospeech
|
| 9 |
import time
|
| 10 |
|
|
|
|
| 11 |
# Cargar la clave API desde el archivo .env
|
| 12 |
load_dotenv()
|
| 13 |
os.environ["GOOGLE_APPLICATION_CREDENTIALS"] = "botidinamix-g.json"
|
|
|
|
| 3 |
import pandas as pd
|
| 4 |
from reportlab.lib.pagesizes import letter
|
| 5 |
from reportlab.pdfgen import canvas
|
| 6 |
+
from dotenv import load_dotenv
|
| 7 |
import openai
|
| 8 |
import tempfile
|
| 9 |
from google.cloud import texttospeech
|
| 10 |
import time
|
| 11 |
|
| 12 |
+
|
| 13 |
# Cargar la clave API desde el archivo .env
|
| 14 |
load_dotenv()
|
| 15 |
os.environ["GOOGLE_APPLICATION_CREDENTIALS"] = "botidinamix-g.json"
|