Spaces:
Running
Running
Update prompt_refiner.py
Browse files- prompt_refiner.py +5 -5
prompt_refiner.py
CHANGED
@@ -15,9 +15,9 @@ class PromptRefiner:
|
|
15 |
meta_prompt_choice,
|
16 |
self.meta_prompts["star"] # Default to "star" if choice not found
|
17 |
)
|
18 |
-
print('_'*100)
|
19 |
-
print(selected_meta_prompt)
|
20 |
-
print('°°'*100)
|
21 |
messages = [
|
22 |
{
|
23 |
"role": "system",
|
@@ -28,8 +28,8 @@ class PromptRefiner:
|
|
28 |
"content": selected_meta_prompt.replace("[Insert initial prompt here]", prompt)
|
29 |
}
|
30 |
]
|
31 |
-
print(messages)
|
32 |
-
print('°°'*100)
|
33 |
response = self.client.chat_completion(
|
34 |
model=prompt_refiner_model,
|
35 |
messages=messages,
|
|
|
15 |
meta_prompt_choice,
|
16 |
self.meta_prompts["star"] # Default to "star" if choice not found
|
17 |
)
|
18 |
+
#print('_'*100)
|
19 |
+
#print(selected_meta_prompt)
|
20 |
+
#print('°°'*100)
|
21 |
messages = [
|
22 |
{
|
23 |
"role": "system",
|
|
|
28 |
"content": selected_meta_prompt.replace("[Insert initial prompt here]", prompt)
|
29 |
}
|
30 |
]
|
31 |
+
#print(messages)
|
32 |
+
#print('°°'*100)
|
33 |
response = self.client.chat_completion(
|
34 |
model=prompt_refiner_model,
|
35 |
messages=messages,
|