Update app.py
Browse files
app.py
CHANGED
@@ -51,8 +51,8 @@ def reset_conversation():
|
|
51 |
def get_assistant_aswer(st_model, st_messages, st_temp_value, st_max_tokens):
|
52 |
response = ""
|
53 |
st.write ("model: " + st_model)
|
54 |
-
st.write ("temp: " + st_temp_value)
|
55 |
-
st.write ("max_tokens: " + st_max)
|
56 |
try:
|
57 |
stream = client.chat.completions.create(
|
58 |
model=st_model,
|
|
|
51 |
def get_assistant_aswer(st_model, st_messages, st_temp_value, st_max_tokens):
|
52 |
response = ""
|
53 |
st.write ("model: " + st_model)
|
54 |
+
st.write ("temp: " + st_temp_value.to_string())
|
55 |
+
st.write ("max_tokens: " + st_max.to_string())
|
56 |
try:
|
57 |
stream = client.chat.completions.create(
|
58 |
model=st_model,
|