Spaces:
Runtime error
Runtime error
Dagfinn1962
commited on
Commit
•
fba8e2c
1
Parent(s):
1687d86
Update app3.py
Browse files
app3.py
CHANGED
@@ -4,6 +4,7 @@ import gradio as gr
|
|
4 |
|
5 |
from src.llm_boilers import llm_boiler
|
6 |
|
|
|
7 |
|
8 |
logging.basicConfig(format="%(asctime)s - %(message)s", level=logging.INFO)
|
9 |
logging.warning("READY. App started...")
|
|
|
4 |
|
5 |
from src.llm_boilers import llm_boiler
|
6 |
|
7 |
+
openai.api_key = os.getenv("OPENAI_API_KEY")
|
8 |
|
9 |
logging.basicConfig(format="%(asctime)s - %(message)s", level=logging.INFO)
|
10 |
logging.warning("READY. App started...")
|