Spaces:
Running
Running
Update prompt_refiner.py
Browse files- prompt_refiner.py +2 -2
prompt_refiner.py
CHANGED
@@ -15,7 +15,7 @@ class PromptRefiner:
|
|
15 |
meta_prompt_choice,
|
16 |
self.meta_prompts["star"] # Default to "star" if choice not found
|
17 |
)
|
18 |
-
print(selected_meta_prompt)
|
19 |
messages = [
|
20 |
{
|
21 |
"role": "system",
|
@@ -26,7 +26,7 @@ class PromptRefiner:
|
|
26 |
"content": selected_meta_prompt["template"].replace("[Insert initial prompt here]", prompt)
|
27 |
}
|
28 |
]
|
29 |
-
print(
|
30 |
response = self.client.chat_completion(
|
31 |
model=prompt_refiner_model,
|
32 |
messages=messages,
|
|
|
15 |
meta_prompt_choice,
|
16 |
self.meta_prompts["star"] # Default to "star" if choice not found
|
17 |
)
|
18 |
+
#print(selected_meta_prompt)
|
19 |
messages = [
|
20 |
{
|
21 |
"role": "system",
|
|
|
26 |
"content": selected_meta_prompt["template"].replace("[Insert initial prompt here]", prompt)
|
27 |
}
|
28 |
]
|
29 |
+
print(messages)
|
30 |
response = self.client.chat_completion(
|
31 |
model=prompt_refiner_model,
|
32 |
messages=messages,
|