Spaces:
Sleeping
Sleeping
Surface real screenshot DownloadError detail
Browse files
app.py
CHANGED
|
@@ -287,9 +287,8 @@ def run_pipeline(topic, hf_token, yt_api_key, llm_model, vlm_model,
|
|
| 287 |
selected = frames_mod.capture_shots(
|
| 288 |
times, best["video_id"], frames_dir, cookiefile, proxy, progress)
|
| 289 |
except Exception as exc:
|
| 290 |
-
yield (status(f"⚠️ Couldn't fetch screenshots
|
| 291 |
-
"
|
| 292 |
-
"(HTTPS proxy) so yt-dlp can download clips."),
|
| 293 |
ranking, gr.update(value=transcript), gr.update())
|
| 294 |
if selected:
|
| 295 |
progress(0.88, desc="Captioning")
|
|
|
|
| 287 |
selected = frames_mod.capture_shots(
|
| 288 |
times, best["video_id"], frames_dir, cookiefile, proxy, progress)
|
| 289 |
except Exception as exc:
|
| 290 |
+
yield (status(f"⚠️ Couldn't fetch screenshots — text-only tutorial. "
|
| 291 |
+
f"`{type(exc).__name__}: {str(exc)[:400]}`"),
|
|
|
|
| 292 |
ranking, gr.update(value=transcript), gr.update())
|
| 293 |
if selected:
|
| 294 |
progress(0.88, desc="Captioning")
|