Spaces:
Sleeping
Sleeping
Update src/streamlit_app.py
Browse files- src/streamlit_app.py +3 -1
src/streamlit_app.py
CHANGED
|
@@ -1,9 +1,11 @@
|
|
| 1 |
-
import os
|
| 2 |
import re
|
| 3 |
from dataclasses import dataclass
|
| 4 |
from typing import List, Dict, Optional
|
| 5 |
import pandas as pd
|
| 6 |
import streamlit as st
|
|
|
|
|
|
|
|
|
|
| 7 |
# from dotenv import load_dotenv
|
| 8 |
# load_dotenv()
|
| 9 |
|
|
|
|
|
|
|
| 1 |
import re
|
| 2 |
from dataclasses import dataclass
|
| 3 |
from typing import List, Dict, Optional
|
| 4 |
import pandas as pd
|
| 5 |
import streamlit as st
|
| 6 |
+
import os
|
| 7 |
+
api_key = os.getenv("OPENAI_API_KEY")
|
| 8 |
+
print("API key loaded?", bool(api_key))
|
| 9 |
# from dotenv import load_dotenv
|
| 10 |
# load_dotenv()
|
| 11 |
|