Spaces:
				
			
			
	
			
			
		Runtime error
		
	
	
	
			
			
	
	
	
	
		
		
		Runtime error
		
	Update app.py
Browse files
    	
        app.py
    CHANGED
    
    | @@ -30,7 +30,7 @@ def resp2msg(resp): | |
| 30 |  | 
| 31 | 
             
            def process_input(text):
         | 
| 32 | 
             
                response = retrieval_chain.invoke({"input": text})
         | 
| 33 | 
            -
                bot.send_message( | 
| 34 | 
             
                youtube_links = get_yt_links(response['context'])
         | 
| 35 | 
             
                return response['answer'], youtube_links[0], youtube_links[1], youtube_links[2]
         | 
| 36 |  | 
|  | |
| 30 |  | 
| 31 | 
             
            def process_input(text):
         | 
| 32 | 
             
                response = retrieval_chain.invoke({"input": text})
         | 
| 33 | 
            +
                bot.send_message(user_id, resp2msg(response))
         | 
| 34 | 
             
                youtube_links = get_yt_links(response['context'])
         | 
| 35 | 
             
                return response['answer'], youtube_links[0], youtube_links[1], youtube_links[2]
         | 
| 36 |  |