You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to make the fast api to extract summaries and key point from just giving the URL but I ran into problem where the below same code is working fine on my local machine ( windows) but when I deploy for Production on AWS Ec2 or lambda as well as Azure it gives me following response:
On the Local machine same code is giving me ouput:
Pls, note same versions of libraries are installed on both clouds and in local.
from phi.model.groq import Groq
from phi.agent import Agent
from phi.tools.youtube_tools import YouTubeTools
agent = Agent(
tools=[YouTubeTools(get_video_captions=True)],
show_tool_calls=True,
model=Groq(id="llama3-70b-8192"),
description="You are a YouTube agent. Obtain the captions of a YouTube video",
)
agent.print_response("Give me a ""well researched report"" and includes ""important key points"" as well as a ""seprate summary"" covered in this video https://www.youtube.com/watch?v=Iv9dewmcFbs&t", markdown=True)
I just deep dug in and find that you are also using 'youtube_transcript_api' and YouTube ban's the cloud machine IP's when try to extract captions. Pls help me to fix this problem as I'm stuck on this from 4 Days tried with proxies also but still the error comes.
The text was updated successfully, but these errors were encountered:
The captions are enabled for the video and I tried with 10 different videos they are working fine on local host but on Cloud services they can't able to get results.
Hey @orbimatrix unfortunately we faced the same problem while trying to deploy an Agent with YoutubeTools. Thank you for sharing the existing issue. I too am now subscribed to it. Hoping for a fix soon
Hi team,
I'm trying to make the fast api to extract summaries and key point from just giving the URL but I ran into problem where the below same code is working fine on my local machine ( windows) but when I deploy for Production on AWS Ec2 or lambda as well as Azure it gives me following response:
On the Local machine same code is giving me ouput:
Pls, note same versions of libraries are installed on both clouds and in local.
I just deep dug in and find that you are also using 'youtube_transcript_api' and YouTube ban's the cloud machine IP's when try to extract captions. Pls help me to fix this problem as I'm stuck on this from 4 Days tried with proxies also but still the error comes.
The text was updated successfully, but these errors were encountered: