Spaces:
Running
Running
update app.py, modify tmp dir
Browse files
app.py
CHANGED
|
@@ -27,7 +27,7 @@ MAX_FILE_AGE_SECONDS = 24 * 60 * 60 # 24 hours
|
|
| 27 |
CLEANUP_INTERVAL_SECONDS = 60 * 60 # Run cleanup check every 1 hour
|
| 28 |
|
| 29 |
# set the gradio tmp dir
|
| 30 |
-
os.environ["GRADIO_TEMP_DIR"] = "./user_sessions"
|
| 31 |
|
| 32 |
|
| 33 |
def cleanup_old_sessions():
|
|
|
|
| 27 |
CLEANUP_INTERVAL_SECONDS = 60 * 60 # Run cleanup check every 1 hour
|
| 28 |
|
| 29 |
# set the gradio tmp dir
|
| 30 |
+
# os.environ["GRADIO_TEMP_DIR"] = "./user_sessions"
|
| 31 |
|
| 32 |
|
| 33 |
def cleanup_old_sessions():
|