Spaces:
				
			
			
	
			
			
		Sleeping
		
	
	
	
			
			
	
	
	
	
		
		
		Sleeping
		
	modified
Browse files
    	
        app.py
    CHANGED
    
    | 
         @@ -101,6 +101,13 @@ def chatbot_ui(): 
     | 
|
| 101 | 
         
             
                        outputs=[chatbot, audio_output],
         
     | 
| 102 | 
         
             
                    )
         
     | 
| 103 | 
         | 
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 104 | 
         
             
                    # Clear placeholder after submission
         
     | 
| 105 | 
         
             
                    submit_btn.click(
         
     | 
| 106 | 
         
             
                        lambda: "",  # Return empty string to clear placeholder
         
     | 
| 
         | 
|
| 101 | 
         
             
                        outputs=[chatbot, audio_output],
         
     | 
| 102 | 
         
             
                    )
         
     | 
| 103 | 
         | 
| 104 | 
         
            +
                    # Submit on pressing Enter key
         
     | 
| 105 | 
         
            +
                    user_input.submit(
         
     | 
| 106 | 
         
            +
                        customLLMBot,
         
     | 
| 107 | 
         
            +
                        inputs=[user_input, uploaded_image],
         
     | 
| 108 | 
         
            +
                        outputs=[chatbot, audio_output],
         
     | 
| 109 | 
         
            +
                    )
         
     | 
| 110 | 
         
            +
             
     | 
| 111 | 
         
             
                    # Clear placeholder after submission
         
     | 
| 112 | 
         
             
                    submit_btn.click(
         
     | 
| 113 | 
         
             
                        lambda: "",  # Return empty string to clear placeholder
         
     |