Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -37,7 +37,7 @@ def split_text(text):
|
|
37 |
return result
|
38 |
|
39 |
def call_api(prompt_text):
|
40 |
-
url = "https://muryshev-mixtral-api-
|
41 |
payload = {"prompt": prompt_text, "temperature": 0, "seed": 42, "repeat_penalty": 1, "top_p": 0.95, "stream": False, "n_predict": 2000}
|
42 |
|
43 |
try:
|
|
|
37 |
return result
|
38 |
|
39 |
def call_api(prompt_text):
|
40 |
+
url = "https://muryshev-mixtral-api-protocol.hf.space/completion"
|
41 |
payload = {"prompt": prompt_text, "temperature": 0, "seed": 42, "repeat_penalty": 1, "top_p": 0.95, "stream": False, "n_predict": 2000}
|
42 |
|
43 |
try:
|