Spaces:
Running
Running
yuntian-deng
commited on
Commit
•
47a10f0
1
Parent(s):
41ec48f
Update app.py
Browse files
app.py
CHANGED
@@ -25,8 +25,8 @@ def predict(inputs, top_p, temperature, chat_counter, chatbot, history, request:
|
|
25 |
payload = {
|
26 |
"model": MODEL,
|
27 |
"messages": [{"role": "user", "content": f"{inputs}"}],
|
28 |
-
"temperature"
|
29 |
-
"top_p":
|
30 |
"n" : 1,
|
31 |
"stream": True,
|
32 |
"presence_penalty":0,
|
|
|
25 |
payload = {
|
26 |
"model": MODEL,
|
27 |
"messages": [{"role": "user", "content": f"{inputs}"}],
|
28 |
+
"temperature": temperature,
|
29 |
+
"top_p": top_p,
|
30 |
"n" : 1,
|
31 |
"stream": True,
|
32 |
"presence_penalty":0,
|