Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -48,7 +48,7 @@ def respond(
|
|
| 48 |
response = ""
|
| 49 |
citations = []
|
| 50 |
|
| 51 |
-
selected_client = CLIENTS[AVAILABLE_MODELS[model_choice]["type"]]
|
| 52 |
|
| 53 |
try:
|
| 54 |
stream = selected_client.chat.completions.create(
|
|
|
|
| 48 |
response = ""
|
| 49 |
citations = []
|
| 50 |
|
| 51 |
+
selected_client = CLIENTS[AVAILABLE_MODELS[model_choice]["type"]]["client"]
|
| 52 |
|
| 53 |
try:
|
| 54 |
stream = selected_client.chat.completions.create(
|