app.py
Browse files
app.py
CHANGED
|
@@ -17,7 +17,7 @@ st.caption("Chat with your contract or manage meeting minutes")
|
|
| 17 |
|
| 18 |
# Sidebar for API Key input
|
| 19 |
with st.sidebar:
|
| 20 |
-
OPENAI_API_KEY = st.text_input("Enter your
|
| 21 |
|
| 22 |
# Tabs for Contract and Minutes
|
| 23 |
tab1, tab2 = st.tabs(["Contract", "Minutes"])
|
|
@@ -31,7 +31,7 @@ with tab1:
|
|
| 31 |
if OPENAI_API_KEY:
|
| 32 |
client = OpenAI(api_key=OPENAI_API_KEY)
|
| 33 |
else:
|
| 34 |
-
st.error("Please enter your
|
| 35 |
st.stop()
|
| 36 |
|
| 37 |
ASSISTANT_ID = "asst_rd9h8PfYuOmHbkvOF3RTmVfn"
|
|
|
|
| 17 |
|
| 18 |
# Sidebar for API Key input
|
| 19 |
with st.sidebar:
|
| 20 |
+
OPENAI_API_KEY = st.text_input("Enter your C2 Group of Technologies Access Key", type="password")
|
| 21 |
|
| 22 |
# Tabs for Contract and Minutes
|
| 23 |
tab1, tab2 = st.tabs(["Contract", "Minutes"])
|
|
|
|
| 31 |
if OPENAI_API_KEY:
|
| 32 |
client = OpenAI(api_key=OPENAI_API_KEY)
|
| 33 |
else:
|
| 34 |
+
st.error("Please enter your C2 Group of Technologies Access Key to continue.")
|
| 35 |
st.stop()
|
| 36 |
|
| 37 |
ASSISTANT_ID = "asst_rd9h8PfYuOmHbkvOF3RTmVfn"
|