baconnier commited on
Commit
36a55bc
·
verified ·
1 Parent(s): 6babc2d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -35,7 +35,8 @@ class PromptRefiner:
35
  "math": math_meta_prompt,
36
  "arpe": autoregressive_metaprompt
37
  }
38
-
 
39
  def refine_prompt(self, prompt_input: PromptInput) -> tuple:
40
  try:
41
  # Select meta prompt using dictionary instead of if-elif chain
 
35
  "math": math_meta_prompt,
36
  "arpe": autoregressive_metaprompt
37
  }
38
+ self.meta_prompts = meta_prompts
39
+
40
  def refine_prompt(self, prompt_input: PromptInput) -> tuple:
41
  try:
42
  # Select meta prompt using dictionary instead of if-elif chain