arpit13 commited on
Commit
dc19650
·
verified ·
1 Parent(s): a89435d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -386,7 +386,7 @@ EXAMPLE_PROMPTS = [
386
 
387
  # Helper function to format dropdown choices with icons
388
  def format_dropdown_choices(options_dict):
389
- return [f"{info.get('icon', '•')} {key}" for key in options_dict.keys()]
390
 
391
  # Helper function to extract the key from formatted choice
392
  def extract_key(formatted_choice):
 
386
 
387
  # Helper function to format dropdown choices with icons
388
  def format_dropdown_choices(options_dict):
389
+ return [f"{options_dict[key].get('icon', '•')} {key}" for key in options_dict.keys()]
390
 
391
  # Helper function to extract the key from formatted choice
392
  def extract_key(formatted_choice):