Spaces:
Runtime error
Runtime error
Andranik Sargsyan
commited on
Commit
β’
b9f7e06
1
Parent(s):
1df97f6
small fix
Browse files
app.py
CHANGED
@@ -101,7 +101,7 @@ def save_user_session(hr_image, hr_mask, lr_results, prompt, session_id=None):
|
|
101 |
|
102 |
def recover_user_session(session_id):
|
103 |
if session_id == '':
|
104 |
-
return None, None, []
|
105 |
|
106 |
tmp_dir = Path(TMP_DIR)
|
107 |
session_dir = tmp_dir / session_id
|
|
|
101 |
|
102 |
def recover_user_session(session_id):
|
103 |
if session_id == '':
|
104 |
+
return None, None, [], ''
|
105 |
|
106 |
tmp_dir = Path(TMP_DIR)
|
107 |
session_dir = tmp_dir / session_id
|