Spaces:
Running
Running
Update app.py
Browse files
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"},]
|