Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Video transcription and chat

Chat with your youtube videos

This app uses OpenAI's <URL removed by staff>. model to generate a transcription of your videos and upload it to Pinecone.

Youtube URL

 
 

Submit

HTTPError: HTTP Error 400: Bad Request
Traceback:
File "/usr/local/lib/python3.11/site-packages/streamlit/runtime/scriptrunner/exec_code.py", line 75, in exec_func_with_error_handling result = func() ^^^^^^
File "/usr/local/lib/python3.11/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 574, in code_to_exec exec(code, module.__dict__)
File "/app/yt_whisper/app.py", line 181, in <module> main()
File "/app/yt_whisper/app.py", line 155, in main result = process_video(yt_uri) ^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/streamlit/runtime/caching/cache_utils.py", line 168, in wrapper return cached_func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/streamlit/runtime/caching/cache_utils.py", line 197, in __call__ return self._get_or_create_cached_value(args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/streamlit/runtime/caching/cache_utils.py", line 224, in _get_or_create_cached_value return self._handle_cache_miss(cache, value_key, func_args, func_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/streamlit/runtime/caching/cache_utils.py", line 280, in _handle_cache_miss computed_value = self._info.func(*func_args, **func_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/yt_whisper/app.py", line 50, in process_video audio_stream = yt_handler.streams.filter(only_audio=True).first() ^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/pytube/__main__.py", line 296, in streams return StreamQuery(self.fmt_streams) ^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/pytube/__main__.py", line 176, in fmt_streams stream_manifest = extract.apply_descrambler(self.streaming_data) ^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/pytube/__main__.py", line 160, in streaming_data self.bypass_age_gate()
File "/usr/local/lib/python3.11/site-packages/pytube/__main__.py", line 257, in bypass_age_gate innertube_response = innertube.player(self.video_id) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/pytube/innertube.py", line 448, in player return self._call_api(endpoint, query, self.base_data) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/pytube/innertube.py", line 390, in _call_api response = request._execute_request( ^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/pytube/request.py", line 37, in _execute_request return urlopen(request, timeout=timeout) # nosec ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/urllib/request.py", line 216, in urlopen return opener.open(url, data, timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/urllib/request.py", line 525, in open response = meth(req, response) ^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/urllib/request.py", line 634, in http_response response = self.parent.error( ^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/urllib/request.py", line 563, in error return self._call_chain(*args) ^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/urllib/request.py", line 496, in _call_chain result = func(*args) ^^^^^^^^^^^
File "/usr/local/lib/python3.11/urllib/request.py", line 643, in http_error_default raise HTTPError(req.full_url, code, msg, hdrs, fp)
0 0 43
0 REPLIES 0
Top Labels in this Space
Top Solution Authors