Spaces:
				
			
			
	
			
			
		Sleeping
		
	
	
	
			
			
	
	
	
	
		
		
		Sleeping
		
	Update Uploading_images_file.py
Browse files- Uploading_images_file.py +3 -1
    	
        Uploading_images_file.py
    CHANGED
    
    | @@ -56,4 +56,6 @@ def get_previous_message(user_id): | |
| 56 | 
             
                if user_id in user_message_history and len(user_message_history[user_id]) > 0:
         | 
| 57 | 
             
                    # 返回最後一則訊息
         | 
| 58 | 
             
                    return user_message_history[user_id][-1]
         | 
| 59 | 
            -
                return  | 
|  | |
|  | 
|  | |
| 56 | 
             
                if user_id in user_message_history and len(user_message_history[user_id]) > 0:
         | 
| 57 | 
             
                    # 返回最後一則訊息
         | 
| 58 | 
             
                    return user_message_history[user_id][-1]
         | 
| 59 | 
            +
                return {
         | 
| 60 | 
            +
                    "type": 'text',
         | 
| 61 | 
            +
                    "content": 'No message!'}
         |