Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -455,7 +455,7 @@ def model_inference(
|
|
455 |
web_results = search(user_prompt["text"])
|
456 |
web2 = ' '.join([f"Link: {res['link']}\nText: {res['text']}\n\n" for res in web_results])
|
457 |
# Load the language model
|
458 |
-
client = InferenceClient("mistralai/Mistral-7B-Instruct-v0.
|
459 |
generate_kwargs = dict(
|
460 |
max_new_tokens=4000,
|
461 |
do_sample=True,
|
|
|
455 |
web_results = search(user_prompt["text"])
|
456 |
web2 = ' '.join([f"Link: {res['link']}\nText: {res['text']}\n\n" for res in web_results])
|
457 |
# Load the language model
|
458 |
+
client = InferenceClient("mistralai/Mistral-7B-Instruct-v0.2")
|
459 |
generate_kwargs = dict(
|
460 |
max_new_tokens=4000,
|
461 |
do_sample=True,
|