Update app.py
Browse files
app.py
CHANGED
@@ -6,7 +6,7 @@ For more information on `huggingface_hub` Inference API support, please check th
|
|
6 |
"""
|
7 |
|
8 |
# Default client with the first model
|
9 |
-
client = InferenceClient("
|
10 |
|
11 |
# Function to switch between models based on selection
|
12 |
def switch_client(model_name: str):
|
@@ -51,7 +51,7 @@ def respond(
|
|
51 |
|
52 |
# Model names and their pseudonyms
|
53 |
model_choices = [
|
54 |
-
("
|
55 |
("google/mt5-base", "Lake 1 Base"),
|
56 |
("google/mt5-large", "Lake 1 Advanced")
|
57 |
]
|
|
|
6 |
"""
|
7 |
|
8 |
# Default client with the first model
|
9 |
+
client = InferenceClient("mistralai/Mistral-7B-Instruct-v0.3")
|
10 |
|
11 |
# Function to switch between models based on selection
|
12 |
def switch_client(model_name: str):
|
|
|
51 |
|
52 |
# Model names and their pseudonyms
|
53 |
model_choices = [
|
54 |
+
("mistralai/Mistral-7B-Instruct-v0.3", "Lake [Test]"),
|
55 |
("google/mt5-base", "Lake 1 Base"),
|
56 |
("google/mt5-large", "Lake 1 Advanced")
|
57 |
]
|