muryshev commited on
Commit
60a6591
·
verified ·
1 Parent(s): 8485223

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -37,7 +37,7 @@ def split_text(text):
37
 
38
  def call_api(prompt_text):
39
  url = "https://muryshev-mixtral-api-local.hf.space/completion"
40
- payload = {"prompt": prompt_text, "temperature": 0, "seed": 42, "repeat_penalty": 1, "top_p": 0.95, "stream": False}
41
 
42
  try:
43
  response = requests.post(url, json=payload)
 
37
 
38
  def call_api(prompt_text):
39
  url = "https://muryshev-mixtral-api-local.hf.space/completion"
40
+ payload = {"prompt": prompt_text, "temperature": 0, "seed": 42, "repeat_penalty": 1, "top_p": 0.95, "stream": False, "n_predict": 2000}
41
 
42
  try:
43
  response = requests.post(url, json=payload)