Spaces:
Running
Running
app.py
CHANGED
@@ -21,7 +21,7 @@ def download_prompt_templates():
|
|
21 |
prompt = row[1].strip('"')
|
22 |
prompt_templates[act] = prompt
|
23 |
|
24 |
-
prompt_templates = dict(sorted(prompt_templates.items(), key=lambda item: item[0]))
|
25 |
except requests.exceptions.RequestException as e:
|
26 |
print(f"An error occurred while downloading prompt templates: {e}")
|
27 |
return
|
|
|
21 |
prompt = row[1].strip('"')
|
22 |
prompt_templates[act] = prompt
|
23 |
|
24 |
+
# prompt_templates = dict(sorted(prompt_templates.items(), key=lambda item: item[0]))
|
25 |
except requests.exceptions.RequestException as e:
|
26 |
print(f"An error occurred while downloading prompt templates: {e}")
|
27 |
return
|