Update app.py
Browse files
app.py
CHANGED
@@ -23,7 +23,7 @@ API_TOKEN = random.choice(hugging_tokens)
|
|
23 |
with open("./dialogues.txt", "r", encoding="utf-8") as file:
|
24 |
error_phrases = [line.strip() for line in file]
|
25 |
|
26 |
-
client = InferenceClient("
|
27 |
|
28 |
def format_prompt(message, history):
|
29 |
# Предварительный текст, который будет добавлен перед каждым запросом
|
|
|
23 |
with open("./dialogues.txt", "r", encoding="utf-8") as file:
|
24 |
error_phrases = [line.strip() for line in file]
|
25 |
|
26 |
+
client = InferenceClient("mistralai/Mixtral-8x7B-Instruct-v0.1", token=API_TOKEN)
|
27 |
|
28 |
def format_prompt(message, history):
|
29 |
# Предварительный текст, который будет добавлен перед каждым запросом
|