anzorq commited on
Commit
eea6350
1 Parent(s): 0fa9383
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -25,8 +25,8 @@ def download_prompt_templates():
25
  print(f"An error occurred while downloading prompt templates: {e}")
26
  return
27
 
28
- prompt_templates = dict(sorted(prompt_templates.items(), key=lambda item: item[0]))
29
  choices = list(prompt_templates.keys())
 
30
  return gr.update(value=choices[0], choices=choices)
31
 
32
  def on_token_change(user_token):
 
25
  print(f"An error occurred while downloading prompt templates: {e}")
26
  return
27
 
 
28
  choices = list(prompt_templates.keys())
29
+ choices.sort()
30
  return gr.update(value=choices[0], choices=choices)
31
 
32
  def on_token_change(user_token):