muryshev commited on
Commit
ce0b35c
·
verified ·
1 Parent(s): 06c8cb5

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}
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}
41
 
42
  try:
43
  response = requests.post(url, json=payload)