Omnibus commited on
Commit
8e8a987
1 Parent(s): 887db2a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -168,7 +168,9 @@ def comment_generate(prompt, history,post_check,full_conv,persona2, agent_name=a
168
 
169
 
170
  comment_json= {'user':persona[persona2]['name'],'datetime':current_time,'comment':output,'reply_list':[]}
171
- comment_out=post_check['comment_list'].append(comment_json)
 
 
172
 
173
  out_json = {'user':post_check['user'],'datetime':post_check['datetime'],'file_name':post_check['file_name'],
174
  'title':post_check['title'],'blog':1,'comment':post_check['comment']+1,'reply':post_check['reply'],
 
168
 
169
 
170
  comment_json= {'user':persona[persona2]['name'],'datetime':current_time,'comment':output,'reply_list':[]}
171
+ comment_out=post_check['comment_list']
172
+ print(comment_out)
173
+ comment_out.append(comment_json)
174
 
175
  out_json = {'user':post_check['user'],'datetime':post_check['datetime'],'file_name':post_check['file_name'],
176
  'title':post_check['title'],'blog':1,'comment':post_check['comment']+1,'reply':post_check['reply'],