Spaces:
				
			
			
	
			
			
		Runtime error
		
	
	
	
			
			
	
	
	
	
		
		
		Runtime error
		
	Commit 
							
							·
						
						bed81f1
	
1
								Parent(s):
							
							c7de91a
								
Update app.py
Browse files
    	
        app.py
    CHANGED
    
    | @@ -268,7 +268,7 @@ class LangChain_Document_QA: | |
| 268 | 
             
                )
         | 
| 269 | 
             
                      txt_msg.then(lambda: gr.Textbox(interactive=True), None, [txt], queue=False)
         | 
| 270 | 
             
                      # txt.submit(self._suggested_answer, [chatbot,txt],chatbot)
         | 
| 271 | 
            -
                      button.click(self._agent_text, [chatbot,txt3], chatbot)
         | 
| 272 | 
             
                      end_btn.click(self._display_history, [], txt4)
         | 
| 273 | 
             
                      emptyBtn.click(self.clear_func,[],[])
         | 
| 274 | 
             
                      emptyBtn.click(lambda: None, None, chatbot, queue=False)
         | 
|  | |
| 268 | 
             
                )
         | 
| 269 | 
             
                      txt_msg.then(lambda: gr.Textbox(interactive=True), None, [txt], queue=False)
         | 
| 270 | 
             
                      # txt.submit(self._suggested_answer, [chatbot,txt],chatbot)
         | 
| 271 | 
            +
                      # button.click(self._agent_text, [chatbot,txt3], chatbot)
         | 
| 272 | 
             
                      end_btn.click(self._display_history, [], txt4)
         | 
| 273 | 
             
                      emptyBtn.click(self.clear_func,[],[])
         | 
| 274 | 
             
                      emptyBtn.click(lambda: None, None, chatbot, queue=False)
         |