Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -30,7 +30,8 @@ def format_prompt(message, history):
|
|
30 |
|
31 |
|
32 |
def chat_inf(system_prompt, prompt, history, temp, tokens, top_p, seed, client_choice):
|
33 |
-
client = clients[int(client_choice) - 1]
|
|
|
34 |
if not history:
|
35 |
history = []
|
36 |
hist_len = 0
|
|
|
30 |
|
31 |
|
32 |
def chat_inf(system_prompt, prompt, history, temp, tokens, top_p, seed, client_choice):
|
33 |
+
#client = clients[int(client_choice) - 1]
|
34 |
+
client = clients[(client_choice)]
|
35 |
if not history:
|
36 |
history = []
|
37 |
hist_len = 0
|