Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -26,7 +26,7 @@ def get_yt_links(contexts):
|
|
26 |
|
27 |
def process_input(text):
|
28 |
response = retrieval_chain.invoke({"input": text})
|
29 |
-
|
30 |
youtube_links = get_yt_links(response['context'])
|
31 |
return response['answer'], youtube_links[0], youtube_links[1], youtube_links[2]
|
32 |
|
|
|
26 |
|
27 |
def process_input(text):
|
28 |
response = retrieval_chain.invoke({"input": text})
|
29 |
+
bot.send_message(int(user_id), str(response))
|
30 |
youtube_links = get_yt_links(response['context'])
|
31 |
return response['answer'], youtube_links[0], youtube_links[1], youtube_links[2]
|
32 |
|