Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -110,7 +110,7 @@ if task_choice == "Data Generation":
|
|
| 110 |
if few_shot_examples:
|
| 111 |
system_prompt += "Use the following few-shot examples as a reference:\n"
|
| 112 |
for example in few_shot_examples:
|
| 113 |
-
system_prompt += f"Example: {example['content']}\
|
| 114 |
system_prompt += f"Each example should have between {min_words} and {max_words} words.\n"
|
| 115 |
system_prompt += "Think step by step while generating the examples."
|
| 116 |
####
|
|
|
|
| 110 |
if few_shot_examples:
|
| 111 |
system_prompt += "Use the following few-shot examples as a reference:\n"
|
| 112 |
for example in few_shot_examples:
|
| 113 |
+
system_prompt += f"Example: {example['content']} \nLabel: {example['label']}\n"
|
| 114 |
system_prompt += f"Each example should have between {min_words} and {max_words} words.\n"
|
| 115 |
system_prompt += "Think step by step while generating the examples."
|
| 116 |
####
|