Update app.py
Browse files
app.py
CHANGED
@@ -128,7 +128,7 @@ def comment_generate(prompt, history,post_check,full_conv,persona2, agent_name=a
|
|
128 |
print(post_check)
|
129 |
print("###############\nRUNNING QUESTION GENERATOR\n###############\n")
|
130 |
seed = random.randint(1,1111111111111111)
|
131 |
-
agent=prompts.
|
132 |
|
133 |
system_prompt=agent
|
134 |
temperature = float(temperature)
|
|
|
128 |
print(post_check)
|
129 |
print("###############\nRUNNING QUESTION GENERATOR\n###############\n")
|
130 |
seed = random.randint(1,1111111111111111)
|
131 |
+
agent=prompts.COMMENTER.format(focus=post_check['output'],persona=persona[persona2]['personality'])
|
132 |
|
133 |
system_prompt=agent
|
134 |
temperature = float(temperature)
|