Omnibus commited on
Commit
a712c99
1 Parent(s): 56a13d5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -182,6 +182,7 @@ def generate(prompt, history, agent_name=agents[0], sys_prompt="", temperature=0
182
  prompt=prompt.strip(' \"')
183
 
184
  formatted_prompt = format_prompt(f"{system_prompt}, {prompt}", history)
 
185
  else:
186
  system_prompt=prompts.REPLY_TO_COMMENTER.format(focus=main_points[0])
187
 
@@ -254,9 +255,7 @@ def generate(prompt, history, agent_name=agents[0], sys_prompt="", temperature=0
254
  token=token,
255
  )
256
 
257
- else:
258
- prompt = question_generate(output, history)
259
-
260
  prompt = question_generate(output, history)
261
  main_point[0]=prompt
262
 
 
182
  prompt=prompt.strip(' \"')
183
 
184
  formatted_prompt = format_prompt(f"{system_prompt}, {prompt}", history)
185
+ post_cnt+=1
186
  else:
187
  system_prompt=prompts.REPLY_TO_COMMENTER.format(focus=main_points[0])
188
 
 
255
  token=token,
256
  )
257
 
258
+
 
 
259
  prompt = question_generate(output, history)
260
  main_point[0]=prompt
261