Update app.py
Browse files
app.py
CHANGED
@@ -110,7 +110,8 @@ def comment_generate(prompt, history,post_check,full_conv, agent_name=agents[0],
|
|
110 |
print(f'full_conv::\n{full_conv}')
|
111 |
print("###############\nRUNNING QUESTION GENERATOR\n###############\n")
|
112 |
seed = random.randint(1,1111111111111111)
|
113 |
-
agent=prompts.COMMENTER.format(focus=main_point[0])
|
|
|
114 |
system_prompt=agent
|
115 |
temperature = float(temperature)
|
116 |
if temperature < 1e-2:
|
|
|
110 |
print(f'full_conv::\n{full_conv}')
|
111 |
print("###############\nRUNNING QUESTION GENERATOR\n###############\n")
|
112 |
seed = random.randint(1,1111111111111111)
|
113 |
+
#agent=prompts.COMMENTER.format(focus=main_point[0])
|
114 |
+
agent=prompts.COMMENTER.format(focus=history[0][0])
|
115 |
system_prompt=agent
|
116 |
temperature = float(temperature)
|
117 |
if temperature < 1e-2:
|