Fix
Browse files- herramientas.py +7 -7
herramientas.py
CHANGED
@@ -7,17 +7,17 @@ def obtenClienteOpenAI():
|
|
7 |
if local_check():
|
8 |
print("Estoy en LOCAL...")
|
9 |
time.sleep(18)
|
10 |
-
import bridges
|
11 |
-
buzz = bridges.buzz
|
12 |
-
llave = bridges.llave
|
13 |
else:
|
14 |
print("Estoy en REMOTO...")
|
15 |
time.sleep(18)
|
16 |
-
buzz = os.getenv("buzz")
|
17 |
-
llave = os.getenv("llave")
|
18 |
|
19 |
-
client = OpenAI(api_key=buzz)
|
20 |
-
return client
|
21 |
|
22 |
def local_check():
|
23 |
|
|
|
7 |
if local_check():
|
8 |
print("Estoy en LOCAL...")
|
9 |
time.sleep(18)
|
10 |
+
# import bridges
|
11 |
+
# buzz = bridges.buzz
|
12 |
+
# llave = bridges.llave
|
13 |
else:
|
14 |
print("Estoy en REMOTO...")
|
15 |
time.sleep(18)
|
16 |
+
# buzz = os.getenv("buzz")
|
17 |
+
# llave = os.getenv("llave")
|
18 |
|
19 |
+
# client = OpenAI(api_key=buzz)
|
20 |
+
# return client
|
21 |
|
22 |
def local_check():
|
23 |
|