jost commited on
Commit
b69c86f
·
verified ·
1 Parent(s): 18240cd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -41,7 +41,8 @@ def update_direct_steering_options(prompt_type):
41
  "Random RAG (indirect steering with randomized context)": ["Random 1", "Random 2", "Random 3"]
42
  }
43
 
44
- return gr.Dropdown.update(choices=options.get(prompt_type, []))
 
45
  #return options.get(prompt_type, []))
46
 
47
  def main():
 
41
  "Random RAG (indirect steering with randomized context)": ["Random 1", "Random 2", "Random 3"]
42
  }
43
 
44
+ direct_steering_option.update(choices=options.get(prompt_type, []))
45
+ return direct_steering_option.update(choices=options.get(prompt_type, []))
46
  #return options.get(prompt_type, []))
47
 
48
  def main():