Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -210,6 +210,7 @@ def create_interface():
|
|
| 210 |
return f"❌ Download failed:\n{download_message}", gr.File(visible=False), gr.Button(visible=False), gr.State(None)
|
| 211 |
|
| 212 |
def show_analysis(video_info):
|
|
|
|
| 213 |
if video_info:
|
| 214 |
return downloader.format_video_info(video_info), gr.Textbox(visible=True)
|
| 215 |
return "❌ No analysis data available.", gr.Textbox(visible=True)
|
|
|
|
| 210 |
return f"❌ Download failed:\n{download_message}", gr.File(visible=False), gr.Button(visible=False), gr.State(None)
|
| 211 |
|
| 212 |
def show_analysis(video_info):
|
| 213 |
+
print("[DEBUG] Received video_info:", video_info)
|
| 214 |
if video_info:
|
| 215 |
return downloader.format_video_info(video_info), gr.Textbox(visible=True)
|
| 216 |
return "❌ No analysis data available.", gr.Textbox(visible=True)
|