tatihden commited on
Commit
e82a433
·
verified ·
1 Parent(s): 99223bb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
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