Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -19,7 +19,7 @@ def get_streamed_response(message, history):
|
|
19 |
url = "https://api.together.xyz/v1/chat/completions"
|
20 |
payload = {
|
21 |
"model": "lmsys/vicuna-13b-v1.5",
|
22 |
-
"temperature":
|
23 |
"top_p": 0.7,
|
24 |
"top_k": 50,
|
25 |
"repetition_penalty": 1,
|
@@ -68,4 +68,4 @@ def get_streamed_response(message, history):
|
|
68 |
all_message.append({"role": "assistant", "content": entire_assistant_response})
|
69 |
|
70 |
|
71 |
-
gr.ChatInterface(get_streamed_response).launch(
|
|
|
19 |
url = "https://api.together.xyz/v1/chat/completions"
|
20 |
payload = {
|
21 |
"model": "lmsys/vicuna-13b-v1.5",
|
22 |
+
"temperature": 1,
|
23 |
"top_p": 0.7,
|
24 |
"top_k": 50,
|
25 |
"repetition_penalty": 1,
|
|
|
68 |
all_message.append({"role": "assistant", "content": entire_assistant_response})
|
69 |
|
70 |
|
71 |
+
gr.ChatInterface(get_streamed_response).launch()
|