JohnPorkEater commited on
Commit
9a10096
·
verified ·
1 Parent(s): ae658af

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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": 0.7,
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(share=True)
 
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()