Omnibus commited on
Commit
b67a2f5
·
verified ·
1 Parent(s): 95ce061

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -136,7 +136,9 @@ def comment_generate(prompt, history,post_check, agent_name=agents[0], sys_promp
136
  output += response.token.text
137
  history.append((output,None))
138
 
139
- post_check['comment']=post_check['comment']+1
 
 
140
  #out_json = {'user':"",'datetime':current_time,'title':title,'blog':1,'comment':0,'reply':0,"prompt":prompt,"output":output}
141
  full_conv.append((output,))
142
  html_out=load_html(full_conv,None)
 
136
  output += response.token.text
137
  history.append((output,None))
138
 
139
+ comment_cnt=post_check['comment']
140
+ print(type(comment_cnt))
141
+ post_check['comment']=comment_cnt+1
142
  #out_json = {'user':"",'datetime':current_time,'title':title,'blog':1,'comment':0,'reply':0,"prompt":prompt,"output":output}
143
  full_conv.append((output,))
144
  html_out=load_html(full_conv,None)