Update app.py
Browse files
app.py
CHANGED
@@ -151,7 +151,7 @@ def comment_generate(prompt, history,post_check,full_conv, agent_name=agents[0],
|
|
151 |
html_out=load_html(full_conv,None)
|
152 |
|
153 |
#out_json = {'user':list_of_users[0],'datetime':current_time,'file_name':filename,'title':title,'blog':1,'comment':0,'reply':0,"prompt":prompt,"output":output,'comment_list':[]}
|
154 |
-
r = requests.get(f'{save_data}{post_check[
|
155 |
print(f'status code main:: {r.status_code}')
|
156 |
if r.status_code==200:
|
157 |
|
|
|
151 |
html_out=load_html(full_conv,None)
|
152 |
|
153 |
#out_json = {'user':list_of_users[0],'datetime':current_time,'file_name':filename,'title':title,'blog':1,'comment':0,'reply':0,"prompt":prompt,"output":output,'comment_list':[]}
|
154 |
+
r = requests.get(f'{save_data}{post_check["filename"]}')
|
155 |
print(f'status code main:: {r.status_code}')
|
156 |
if r.status_code==200:
|
157 |
|