BtB-ExpC commited on
Commit
2d0be65
·
1 Parent(s): 678be44

template_write_fluster_a

Browse files
app/ui/write_fluster_tab.py CHANGED
@@ -28,7 +28,7 @@ def build_write_fluster_tab():
28
  )
29
 
30
 
31
- exercises_input = gr.Textbox(label="Enter a learning objective", placeholder="De student weet dat ...")
32
  write_fluster_button = gr.Button("Generate Fluster")
33
 
34
  # 2×2 textboxes => 4 total
 
28
  )
29
 
30
 
31
+ exercises_input = gr.Textbox(label="Enter a learning objective", value="De student weet dat")
32
  write_fluster_button = gr.Button("Generate Fluster")
33
 
34
  # 2×2 textboxes => 4 total
chains/exercises/runner.py CHANGED
@@ -17,11 +17,11 @@ async def run_fluster(
17
  """
18
 
19
  # Get the chain config
20
- config = chain_configs["exercises"]
21
 
22
  # Extract the chain object fields
23
- template_write_a = config["template_write_a"]
24
- template_write_b = config["template_write_b"]
25
 
26
  # pick the LLMs based on user input or the default from config
27
  llm_a = llms.get(model_choice_1, config["default_llm_a"])
 
17
  """
18
 
19
  # Get the chain config
20
+ config = chain_configs["fluster"]
21
 
22
  # Extract the chain object fields
23
+ template_write_a = config["template_write_fluster_a"]
24
+ template_write_b = config["template_write_fluster_b"]
25
 
26
  # pick the LLMs based on user input or the default from config
27
  llm_a = llms.get(model_choice_1, config["default_llm_a"])