ironjr commited on
Commit
6a43180
1 Parent(s): 7d1d8e0

Upload luciddreamer.py with huggingface_hub

Browse files
Files changed (1) hide show
  1. luciddreamer.py +1 -1
luciddreamer.py CHANGED
@@ -205,7 +205,7 @@ class LucidDreamer:
205
 
206
  def cleaner(self):
207
  # Remove the temporary file created yesterday.
208
- for dpath in glob.glob(os.path.join(self.root, '*')):
209
  timestamp = datetime.datetime.strptime(os.path.basename(dpath), '%y%m%d_%H%M%S')
210
  if timestamp < datetime.datetime.now() - datetime.timedelta(days=1):
211
  try:
 
205
 
206
  def cleaner(self):
207
  # Remove the temporary file created yesterday.
208
+ for dpath in glob.glob(os.path.join('/tmp/gradio', '*', self.root, '*')):
209
  timestamp = datetime.datetime.strptime(os.path.basename(dpath), '%y%m%d_%H%M%S')
210
  if timestamp < datetime.datetime.now() - datetime.timedelta(days=1):
211
  try: