P01yH3dr0n commited on
Commit
40f2d70
1 Parent(s): 9c29934

Update images_history.py

Browse files
Files changed (1) hide show
  1. images_history.py +1 -1
images_history.py CHANGED
@@ -29,7 +29,7 @@ def get_img_info(evt: gr.SelectData):
29
  return index, info, items
30
 
31
  def img_history_ui(tab):
32
- os.mkdir(client_config['save_path'], exist_ok=True)
33
  all_dirs = os.listdir(client_config['save_path'])
34
  all_dirs.sort(reverse=True)
35
  with gr.Row():
 
29
  return index, info, items
30
 
31
  def img_history_ui(tab):
32
+ os.makedirs(client_config['save_path'], exist_ok=True)
33
  all_dirs = os.listdir(client_config['save_path'])
34
  all_dirs.sort(reverse=True)
35
  with gr.Row():