xMaulana commited on
Commit
ef274b2
1 Parent(s): 899da3f

fix apikey

Browse files
Files changed (1) hide show
  1. pages/1_Dokter_Virtual.py +2 -2
pages/1_Dokter_Virtual.py CHANGED
@@ -24,7 +24,7 @@ if not cekApikey():
24
  if prop:
25
  openai.api_key = prop
26
 
27
-
28
  for i, message in enumerate(st.session_state.messages):
29
  if i == 0:
30
  continue
@@ -41,4 +41,4 @@ if prompt := st.chat_input("Masukkan pesan"):
41
 
42
  st.session_state.messages.append({"role" : "assistant", "content" : response})
43
  with st.chat_message("assistant"):
44
- st.markdown(f"Dr. Rehan : {response}")
 
24
  if prop:
25
  openai.api_key = prop
26
 
27
+
28
  for i, message in enumerate(st.session_state.messages):
29
  if i == 0:
30
  continue
 
41
 
42
  st.session_state.messages.append({"role" : "assistant", "content" : response})
43
  with st.chat_message("assistant"):
44
+ st.markdown(f"Dr. Rehan: {response}")