Spaces:
Sleeping
Sleeping
Upload app.py
Browse files
app.py
CHANGED
@@ -15,6 +15,7 @@ def chat_api(history, question):
|
|
15 |
body = str.encode(json.dumps(data))
|
16 |
url = st.secrets["url"]
|
17 |
api_key = st.secrets["ms_api_key"]
|
|
|
18 |
# Replace this with the primary/secondary key, AMLToken, or Microsoft Entra ID token for the endpoint
|
19 |
if not api_key:
|
20 |
raise Exception("A key should be provided to invoke the endpoint")
|
@@ -32,7 +33,7 @@ def chat_api(history, question):
|
|
32 |
|
33 |
# Header UI ------------------------------------------------------------------
|
34 |
# st.image('./Cognizant_Logo.jpg', width=300)
|
35 |
-
st.header("RCM
|
36 |
|
37 |
# Chat UI --------------------------------------------------------------------
|
38 |
st.write("This chat as access to search the web to answer your quesitons.")
|
|
|
15 |
body = str.encode(json.dumps(data))
|
16 |
url = st.secrets["url"]
|
17 |
api_key = st.secrets["ms_api_key"]
|
18 |
+
|
19 |
# Replace this with the primary/secondary key, AMLToken, or Microsoft Entra ID token for the endpoint
|
20 |
if not api_key:
|
21 |
raise Exception("A key should be provided to invoke the endpoint")
|
|
|
33 |
|
34 |
# Header UI ------------------------------------------------------------------
|
35 |
# st.image('./Cognizant_Logo.jpg', width=300)
|
36 |
+
st.header("RCM Copilot", divider = 'blue')
|
37 |
|
38 |
# Chat UI --------------------------------------------------------------------
|
39 |
st.write("This chat as access to search the web to answer your quesitons.")
|