OuroborosM commited on
Commit
6bcd061
·
1 Parent(s): 4a21233

rollback clearall

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -1347,11 +1347,11 @@ def clearall():
1347
  # memory_openai.clear()
1348
  global Filename_Chatbot
1349
  Filename_Chatbot = []
1350
- file_path = "output.log"
1351
- if os.path.isfile(file_path):
1352
- os.remove(file_path)
1353
- with open(file_path, "w") as file:
1354
- print(f"File '{file_path}' has been created.")
1355
  return [[], gr.update(visible=True), gr.update(visible=False), []]
1356
 
1357
  def retry(history3):
 
1347
  # memory_openai.clear()
1348
  global Filename_Chatbot
1349
  Filename_Chatbot = []
1350
+ # file_path = "output.log"
1351
+ # if os.path.isfile(file_path):
1352
+ # os.remove(file_path)
1353
+ # with open(file_path, "w") as file:
1354
+ # print(f"File '{file_path}' has been created.")
1355
  return [[], gr.update(visible=True), gr.update(visible=False), []]
1356
 
1357
  def retry(history3):