WilliamRabuel commited on
Commit
cf96587
·
verified ·
1 Parent(s): 86cc8b3

Update tools.py

Browse files
Files changed (1) hide show
  1. tools.py +1 -1
tools.py CHANGED
@@ -423,4 +423,4 @@ def get_youtube_transcript(video_url: str) -> Dict[str, Any]:
423
  transcript_text = " ".join([item['text'] for item in transcript_list])
424
  return {"status": "success", "transcript": transcript_text[:15000]}
425
  except Exception as e:
426
- return {"error": str(e)
 
423
  transcript_text = " ".join([item['text'] for item in transcript_list])
424
  return {"status": "success", "transcript": transcript_text[:15000]}
425
  except Exception as e:
426
+ return {"error": str(e)}