yangminded commited on
Commit
d416451
·
verified ·
1 Parent(s): 1c36790

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -99,8 +99,7 @@ def compose_question_for_agent(task_id: str, question_text: str, question_file_n
99
  # Create a Jinja2 template object
100
  template = jinja2.Template(template_string)
101
 
102
- # --- Process the first JSON object (with a file) ---
103
- result_with_file = template.render(data_with_file)
104
  composed_question = template.render(task_id=task_id, question_text=question_text, question_file_name=question_file_name)
105
  return composed_question
106
 
 
99
  # Create a Jinja2 template object
100
  template = jinja2.Template(template_string)
101
 
102
+ # Compose the question into a new string.
 
103
  composed_question = template.render(task_id=task_id, question_text=question_text, question_file_name=question_file_name)
104
  return composed_question
105