Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,8 +1,9 @@
|
|
| 1 |
import gradio as gr
|
| 2 |
import openai, subprocess, os
|
| 3 |
from agents import agente
|
|
|
|
| 4 |
|
| 5 |
-
openai.api_key = os.
|
| 6 |
|
| 7 |
setupInicial, titulo = agente("po")
|
| 8 |
|
|
|
|
| 1 |
import gradio as gr
|
| 2 |
import openai, subprocess, os
|
| 3 |
from agents import agente
|
| 4 |
+
from dotenv import load_dotenv
|
| 5 |
|
| 6 |
+
openai.api_key = os.getenv['SECRET_API_KEY']
|
| 7 |
|
| 8 |
setupInicial, titulo = agente("po")
|
| 9 |
|