SamiKoen commited on
Commit
8edaa09
·
1 Parent(s): 0f304ce

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -16,8 +16,7 @@ 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
-
20
- print(f"system message is ^^ {system_msg}")
21
  if system_msg.strip() == '':
22
  initial_message = [{"role": "user", "content": "Sen bir Trek bisiklet asistanısın"},]
23
  multi_turn_message = [{"role": "system", "content": "Sen bir Trek bisiklet asistanısın"},]
 
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"},]
22
  multi_turn_message = [{"role": "system", "content": "Sen bir Trek bisiklet asistanısın"},]