Shivam
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -16,15 +16,6 @@ from langchain.agents import create_openai_tools_agent,AgentExecutor
|
|
16 |
|
17 |
load_dotenv()
|
18 |
|
19 |
-
original_init = InnerTube.__init__
|
20 |
-
|
21 |
-
# Define a new init method that sets 'WEB' as the default client
|
22 |
-
def new_init(self, client='WEB', *args, **kwargs):
|
23 |
-
original_init(self, client=client, *args, **kwargs)
|
24 |
-
|
25 |
-
# Replace the original init method with the new one
|
26 |
-
InnerTube.__init__ = new_init
|
27 |
-
|
28 |
# api keys
|
29 |
groq_api_key = os.getenv('GROQ_API_KEY')
|
30 |
|
|
|
16 |
|
17 |
load_dotenv()
|
18 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
19 |
# api keys
|
20 |
groq_api_key = os.getenv('GROQ_API_KEY')
|
21 |
|