SamiKoen commited on
Commit
df63dd8
·
1 Parent(s): 2e2999a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -16,6 +16,8 @@ def predict(system_msg, inputs, top_p, temperature, chat_counter, chatbot=[], hi
16
  "Content-Type": "application/json",
17
  "Authorization": f"Bearer {OPENAI_API_KEY}"
18
  }
 
 
19
  print(f"system message is ^^ {system_msg}")
20
  if system_msg.strip() == '':
21
  initial_message = [{"role": "user", "content": "Sen bir Trek bisiklet asistanısın"},]
 
16
  "Content-Type": "application/json",
17
  "Authorization": f"Bearer {OPENAI_API_KEY}"
18
  }
19
+
20
+ system_msg.strip() == 'Sen bir SPecialized bisiklet asistanısın'
21
  print(f"system message is ^^ {system_msg}")
22
  if system_msg.strip() == '':
23
  initial_message = [{"role": "user", "content": "Sen bir Trek bisiklet asistanısın"},]