helloworld-S commited on
Commit
ec787a0
·
verified ·
1 Parent(s): 07a007b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -207,7 +207,7 @@ def generate_image(
207
  src_inputs = []
208
  use_words = []
209
  cur_run_time = time.strftime("%m%d-%H%M%S")
210
- tmp_dir_root = f"tmp/gradio_demo/{run_name}"
211
  temp_dir = f"{tmp_dir_root}/{cur_run_time}_{generate_random_string(4)}"
212
  os.makedirs(temp_dir, exist_ok=True)
213
  print(f"Temporary directory created: {temp_dir}")
 
207
  src_inputs = []
208
  use_words = []
209
  cur_run_time = time.strftime("%m%d-%H%M%S")
210
+ tmp_dir_root = f"tmp/gradio_demo"
211
  temp_dir = f"{tmp_dir_root}/{cur_run_time}_{generate_random_string(4)}"
212
  os.makedirs(temp_dir, exist_ok=True)
213
  print(f"Temporary directory created: {temp_dir}")