Spaces:
Runtime error
Runtime error
app.py
CHANGED
@@ -26,7 +26,7 @@ def download_prompt_templates():
|
|
26 |
return
|
27 |
|
28 |
choices = list(prompt_templates.keys())
|
29 |
-
choices = [
|
30 |
return gr.update(value=choices[0], choices=choices)
|
31 |
|
32 |
def on_token_change(user_token):
|
|
|
26 |
return
|
27 |
|
28 |
choices = list(prompt_templates.keys())
|
29 |
+
choices = choices[:1] + sorted(choices[1:])
|
30 |
return gr.update(value=choices[0], choices=choices)
|
31 |
|
32 |
def on_token_change(user_token):
|