Spaces:
No application file
No application file
Update app.py
Browse files
app.py
CHANGED
|
@@ -180,7 +180,8 @@ async def health():
|
|
| 180 |
async def launch(request: BrowserLaunchRequest):
|
| 181 |
"""Launch a new browser instance"""
|
| 182 |
session_id = str(uuid.uuid4())
|
| 183 |
-
ts_dir = VIDEO_ROOT / f"{dt.datetime.utcnow():%Y%m%d_%H%M%S}_{session_id}"
|
|
|
|
| 184 |
ts_dir.mkdir(parents=True, exist_ok=True)
|
| 185 |
|
| 186 |
try:
|
|
|
|
| 180 |
async def launch(request: BrowserLaunchRequest):
|
| 181 |
"""Launch a new browser instance"""
|
| 182 |
session_id = str(uuid.uuid4())
|
| 183 |
+
#ts_dir = VIDEO_ROOT / f"{dt.datetime.utcnow():%Y%m%d_%H%M%S}_{session_id}"
|
| 184 |
+
ts_dir = VIDEO_ROOT
|
| 185 |
ts_dir.mkdir(parents=True, exist_ok=True)
|
| 186 |
|
| 187 |
try:
|