Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
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
|
| 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}")
|