Spaces:
Runtime error
Runtime error
Update app.py
Browse files2386 unmodified lines238723882389239023912392239323912392239323942394239523962397239823992400240124022386 unmodified lines def simple_chat(message): """Enhanced fallback function""" if not message.strip(): return "Please enter a message to start chatting!" responses = [ "π€ Cosmic AI is starting up... Please wait!", "π AI model is loading, your patience is appreciated!", "β³ System initialization in progress...", "π Getting ready to chat with you!" f"π€ Cosmic AI is starting up... Your message '{message}' received!", f"π AI model is loading, processing your message: '{message}'", f"β³ System initialization in progress... Message: '{message}' noted!", f"π Getting ready to chat with you about: '{message}'" ] import random return random.choice(responses)
app.py+8-4