Spaces:
Sleeping
Sleeping
Duplicated Clients for different models
#1
by
Sunrusojsis
- opened
app.py
CHANGED
@@ -42,7 +42,7 @@ def generate(prompt, history, temperature=0.9, max_new_tokens=256, top_p=0.95,
|
|
42 |
elif(model == "Mixstral"):
|
43 |
client = mixtralClient
|
44 |
elif(model == "Mathstral"):
|
45 |
-
client =
|
46 |
|
47 |
|
48 |
temperature = float(temperature) # Generation arguments
|
|
|
42 |
elif(model == "Mixstral"):
|
43 |
client = mixtralClient
|
44 |
elif(model == "Mathstral"):
|
45 |
+
client = mathstralClient
|
46 |
|
47 |
|
48 |
temperature = float(temperature) # Generation arguments
|